#FFEF5C

Khaki

#FFEF5CKhaki

Luminance

0.838

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FFEF5C
No #
FFEF5C

RGB

RGB
rgb(255, 239, 92)
Values
R:255 G:239 B:92

HSL

HSL
hsl(54, 100%, 68%)
Values
H:54° S:100% L:68%

HSV / HSB

HSV
hsv(54, 64%, 100%)
Values
H:54° S:64% V:100%

CMYK

CMYK
cmyk(0%, 6%, 64%, 0%)
Values
C:0 M:6 Y:64 K:0

LAB

LAB
lab(93, -11, 70)
Values
L:93 a:-11 b:70

OKLCH

OKLCH
oklch(93.9% 0.164 103.1)
Values
L:93.9% C:0.164 H:103.1°

Code Formats

CSS
color: #FFEF5C;
Swift
UIColor(red: 1.000, green: 0.937, blue: 0.361, alpha: 1.0)
Kotlin
Color(0xFFFFEF5C)
Flutter
Color(0xFFFFEF5C)
Android
#FFFFEF5C

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.18:1

Fail

On Black

17.75:1

AAA

Grayscale Contrast

Aa

0%

17.8

AAA
Aa

10%

14.7

AAA
Aa

20%

10.7

AAA
Aa

30%

7.1

AAA
Aa

40%

4.9

AA
Aa

50%

3.4

AA-large
Aa

60%

2.4

Fail
Aa

70%

1.8

Fail
Aa

80%

1.4

Fail
Aa

90%

1.1

Fail
Aa

100%

1.2

Fail

Best Grayscale Contrast

#000000 with ratio 17.75: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, #FFF7B3 0%, #F5DC00 100%)
OKLCH
linear-gradient(90deg, oklch(96.7% 0.086 102.2) 0%, oklch(88.8% 0.185 101.0) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFF066 0%, #FFEA29 100%)
OKLCH
linear-gradient(135deg, oklch(94.2% 0.157 103.1) 0%, oklch(92.6% 0.187 102.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FFEF5C 0%, #5C6CFF 100%)
OKLCH
linear-gradient(90deg, oklch(93.9% 0.164 103.1) 0%, oklch(60.2% 0.216 273.3) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FF9D5C 0%, #FFEF5C 50%, #BEFF5C 100%)
OKLCH
linear-gradient(90deg, oklch(78.4% 0.142 52.7) 0%, oklch(93.9% 0.164 103.1) 50%, oklch(92.6% 0.201 128.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, #FFEB33 0%, #343009 100%)
OKLCH
linear-gradient(180deg, oklch(92.8% 0.184 102.7) 0%, oklch(30.5% 0.056 103.4) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FFF280 0%, #FFE70F 100%)
OKLCH
radial-gradient(circle, oklch(94.9% 0.136 102.8) 0%, oklch(91.9% 0.191 101.7) 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