#EEC02E#EEC02E
#EEC02E is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.6% C 0.157 H 89.7°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #EEC02E |
|---|---|
| RGB | rgb(238, 192, 46) |
| HSL | hsl(46, 85%, 56%) |
| HSV | hsv(46, 81%, 93%) |
| CMYK | cmyk(0%, 19.3%, 80.7%, 6.7%) |
| CIE-LAB | lab(79.66, 3.34, 73.12) |
| CIE-LCH | lch(79.66, 73.20, 87.38°) |
| OKLab | oklab(82.59% 0.0008 0.1575) |
| OKLCH | oklch(82.59% 0.157 89.7) |
| XYZ | xyz(54.6061, 56.0773, 10.5321) |
| Luminance | 0.5607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Golden
#F5BF03
ΔE00 2.35
Goldenrod (survey)
#FAC205
ΔE00 2.89
Golden Yellow
#FEC615
ΔE00 3.25
Sunflower
#FFC512
ΔE00 3.50
Marigold
#FCC006
ΔE00 3.55
Golden Rod
#F9BC08
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EEC02E #2E5CEE
analogous
#EE602E #EEC02E #BCEE2E
triadic
#EEC02E #2EEEC0 #C02EEE
tetradic
#EEC02E #2EEE60 #2E5CEE #EE2EBC
square
#EEC02E #2EEE60 #2E5CEE #EE2EBC
split-complementary
#EEC02E #2EBCEE #602EEE
monochromatic
#95750C #CEA111 #EEC02E #F3D167 #F7E29F
Accessibility & contrast
On white
1.72
#EEC02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.21
#EEC02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EEC02E
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EEC02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EEC02E | 1.00 | 1.72 | 12.21 | 12.21 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#E2CB38
Tritanopia (blue-blind)
#FFAFA5
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #eec02e; /* rgb */ color: rgb(238, 192, 46); /* oklch */ color: oklch(82.6% 0.157 89.7);
Tailwind
colors: {
custom: {
50: '#f9d274',
500: '#eec02e',
950: '#000000',
},
}SCSS
$custom: #eec02e; $custom-light: #f9d274; $custom-dark: #000000;
JSON
{
"hex": "#eec02e",
"rgb": {
"r": 238,
"g": 192,
"b": 46
},
"hsl": {
"h": 45.625,
"s": 84.956,
"l": 55.686
},
"oklch": {
"l": 0.82593,
"c": 0.15747,
"h": 89.7
},
"luminance": 0.56074
}Semantic roles & 50–950 ramp
primary
#EEC02E
secondary
#274299
accent
#5EFB2D
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181409
muted
#86837D