#FEF08A

Khaki

#FEF08AKhaki

Luminance

0.852

Category

Yellow

Type

Light

Best On

#000000

Color Codes

All color formats for your project

HEX

HEX
#FEF08A
No #
FEF08A

RGB

RGB
rgb(254, 240, 138)
Values
R:254 G:240 B:138

HSL

HSL
hsl(53, 98%, 77%)
Values
H:53° S:98% L:77%

HSV / HSB

HSV
hsv(53, 46%, 100%)
Values
H:53° S:46% V:100%

CMYK

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

LAB

LAB
lab(94, -9, 51)
Values
L:94 a:-9 b:51

OKLCH

OKLCH
oklch(94.5% 0.124 101.5)
Values
L:94.5% C:0.124 H:101.5°

Code Formats

CSS
color: #FEF08A;
Swift
UIColor(red: 0.996, green: 0.941, blue: 0.541, alpha: 1.0)
Kotlin
Color(0xFFFEF08A)
Flutter
Color(0xFFFEF08A)
Android
#FFFEF08A

Contrast Analysis

WCAG compliance with grayscale colors

On White

1.16:1

Fail

On Black

18.05:1

AAA

Grayscale Contrast

Aa

0%

18.0

AAA
Aa

10%

15.0

AAA
Aa

20%

10.9

AAA
Aa

30%

7.3

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 18.05: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, #FEF5B3 0%, #FDE426 100%)
OKLCH
linear-gradient(90deg, oklch(96.2% 0.084 101.3) 0%, oklch(91.2% 0.183 100.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #FFED66 0%, #FFEB57 100%)
OKLCH
linear-gradient(135deg, oklch(93.6% 0.154 101.7) 0%, oklch(93.0% 0.164 101.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #FEF08A 0%, #8B98FE 100%)
OKLCH
linear-gradient(90deg, oklch(94.5% 0.124 101.5) 0%, oklch(71.3% 0.149 276.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #FEB78B 0%, #FEF08A 50%, #D2FE8B 100%)
OKLCH
linear-gradient(90deg, oklch(83.6% 0.101 52.7) 0%, oklch(94.5% 0.124 101.5) 50%, oklch(94.1% 0.150 126.3) 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, #FDE635 0%, #332F0A 100%)
OKLCH
linear-gradient(180deg, oklch(91.6% 0.179 101.4) 0%, oklch(30.1% 0.054 103.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #FEEF81 0%, #FDE73F 100%)
OKLCH
radial-gradient(circle, oklch(94.2% 0.132 101.6) 0%, oklch(91.9% 0.175 101.5) 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