#F5DF4D

Khaki

#F5DF4DKhaki

Luminance

0.727

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#F5DF4D
No #
F5DF4D

RGB

RGB
rgb(245, 223, 77)
Values
R:245 G:223 B:77

HSL

HSL
hsl(52, 89%, 63%)
Values
H:52° S:89% L:63%

HSV / HSB

HSV
hsv(52, 69%, 96%)
Values
H:52° S:69% V:96%

CMYK

CMYK
cmyk(0%, 9%, 69%, 4%)
Values
C:0 M:9 Y:69 K:4

LAB

LAB
lab(88, -8, 71)
Values
L:88 a:-8 b:71

OKLCH

OKLCH
oklch(89.6% 0.161 100.6)
Values
L:89.6% C:0.161 H:100.6°

Code Formats

CSS
color: #F5DF4D;
Swift
UIColor(red: 0.961, green: 0.875, blue: 0.302, alpha: 1.0)
Kotlin
Color(0xFFF5DF4D)
Flutter
Color(0xFFF5DF4D)
Android
#FFF5DF4D

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.35:1

Fail

On Black

15.54:1

AAA

Grayscale Contrast

Aa

0%

15.5

AAA
Aa

10%

12.9

AAA
Aa

20%

9.4

AAA
Aa

30%

6.3

AA
Aa

40%

4.3

AA-large
Aa

50%

3.0

Fail
Aa

60%

2.1

Fail
Aa

70%

1.6

Fail
Aa

80%

1.2

Fail
Aa

90%

1.1

Fail
Aa

100%

1.4

Fail

Best Grayscale Contrast

#000000 with ratio 15.54: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, #FAF0AD 0%, #CFB50C 100%)
OKLCH
linear-gradient(90deg, oklch(94.7% 0.086 100.7) 0%, oklch(77.2% 0.158 98.7) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFEB66 0%, #FFDF0F 100%)
OKLCH
linear-gradient(135deg, oklch(93.2% 0.153 100.8) 0%, oklch(90.3% 0.185 98.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #F5DF4D 0%, #4D63F5 100%)
OKLCH
linear-gradient(90deg, oklch(89.6% 0.161 100.6) 0%, oklch(57.0% 0.218 271.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #F58A4D 0%, #F5DF4D 50%, #B7F54D 100%)
OKLCH
linear-gradient(90deg, oklch(73.9% 0.151 48.6) 0%, oklch(89.6% 0.161 100.6) 50%, oklch(89.8% 0.202 127.7) 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, #F4DC3E 0%, #312C0D 100%)
OKLCH
linear-gradient(180deg, oklch(88.8% 0.168 100.2) 0%, oklch(29.1% 0.048 100.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #F8E987 0%, #E7CA0D 100%)
OKLCH
radial-gradient(circle, oklch(92.6% 0.120 100.7) 0%, oklch(83.8% 0.172 98.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