#FBE870

Khaki

#FBE870Khaki

Luminance

0.794

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FBE870
No #
FBE870

RGB

RGB
rgb(251, 232, 112)
Values
R:251 G:232 B:112

HSL

HSL
hsl(52, 95%, 71%)
Values
H:52° S:95% L:71%

HSV / HSB

HSV
hsv(52, 55%, 98%)
Values
H:52° S:55% V:98%

CMYK

CMYK
cmyk(0%, 8%, 55%, 2%)
Values
C:0 M:8 Y:55 K:2

LAB

LAB
lab(91, -8, 60)
Values
L:91 a:-8 b:60

OKLCH

OKLCH
oklch(92.3% 0.142 100.4)
Values
L:92.3% C:0.142 H:100.4°

Code Formats

CSS
color: #FBE870;
Swift
UIColor(red: 0.984, green: 0.910, blue: 0.439, alpha: 1.0)
Kotlin
Color(0xFFFBE870)
Flutter
Color(0xFFFBE870)
Android
#FFFBE870

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.24:1

Fail

On Black

16.88:1

AAA

Grayscale Contrast

Aa

0%

16.9

AAA
Aa

10%

14.0

AAA
Aa

20%

10.2

AAA
Aa

30%

6.8

AA
Aa

40%

4.6

AA
Aa

50%

3.2

AA-large
Aa

60%

2.3

Fail
Aa

70%

1.7

Fail
Aa

80%

1.3

Fail
Aa

90%

1.0

Fail
Aa

100%

1.2

Fail

Best Grayscale Contrast

#000000 with ratio 16.88:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #FDF3B4 0%, #F9D90B 100%)
OKLCH
linear-gradient(90deg, oklch(95.7% 0.081 100.1) 0%, oklch(88.5% 0.182 98.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFEB66 0%, #FFE438 100%)
OKLCH
linear-gradient(135deg, oklch(93.2% 0.153 100.8) 0%, oklch(91.4% 0.176 99.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FBE870 0%, #6F82FB 100%)
OKLCH
linear-gradient(90deg, oklch(92.3% 0.142 100.4) 0%, oklch(65.1% 0.179 273.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FBA26F 0%, #FBE870 50%, #C8FB6F 100%)
OKLCH
linear-gradient(90deg, oklch(79.1% 0.125 50.0) 0%, oklch(92.3% 0.142 100.4) 50%, oklch(92.5% 0.177 126.4) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #FAE038 0%, #322D0B 100%)
OKLCH
linear-gradient(180deg, oklch(90.2% 0.174 99.9) 0%, oklch(29.4% 0.051 100.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FCEC83 0%, #F9DD24 100%)
OKLCH
radial-gradient(circle, oklch(93.4% 0.127 100.8) 0%, oklch(89.4% 0.179 99.6) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette