#EDC942#EDC942
#EDC942 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.152 H 93.6°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #EDC942 |
|---|---|
| RGB | rgb(237, 201, 66) |
| HSL | hsl(47, 83%, 59%) |
| HSV | hsv(47, 72%, 93%) |
| CMYK | cmyk(0%, 15.2%, 72.2%, 7.1%) |
| CIE-LAB | lab(81.93, -0.98, 68.44) |
| CIE-LCH | lch(81.93, 68.45, 90.82°) |
| OKLab | oklab(84.4% -0.0095 0.1515) |
| OKLCH | oklch(84.4% 0.152 93.6) |
| XYZ | xyz(56.7981, 60.1744, 13.7764) |
| Luminance | 0.6017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.03
Light Mustard
#F7D560
ΔE00 3.41
Light Gold
#FDDC5C
ΔE00 4.44
Golden
#F5BF03
ΔE00 5.17
Golden Yellow
#FEC615
ΔE00 5.23
Mustard
#DBB42C
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDC942 #4266ED
analogous
#ED7342 #EDC942 #BCED42
triadic
#EDC942 #42EDC9 #C942ED
tetradic
#EDC942 #42ED73 #4266ED #ED42BC
square
#EDC942 #42ED73 #4266ED #ED42BC
split-complementary
#EDC942 #42BCED #7342ED
monochromatic
#A58510 #DDB315 #EDC942 #F2D97A #F8E9B2
Accessibility & contrast
On white
1.61
#EDC942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.03
#EDC942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDC942
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDC942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDC942 | 1.00 | 1.61 | 13.03 | 13.03 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC62D
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#FFB9AE
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #edc942; /* rgb */ color: rgb(237, 201, 66); /* oklch */ color: oklch(84.4% 0.152 93.6);
Tailwind
colors: {
custom: {
50: '#f7d97f',
500: '#edc942',
950: '#000000',
},
}SCSS
$custom: #edc942; $custom-light: #f7d97f; $custom-dark: #000000;
JSON
{
"hex": "#edc942",
"rgb": {
"r": 237,
"g": 201,
"b": 66
},
"hsl": {
"h": 47.368,
"s": 82.609,
"l": 59.412
},
"oklch": {
"l": 0.84401,
"c": 0.15178,
"h": 93.6
},
"luminance": 0.60171
}Semantic roles & 50–950 ramp
primary
#EDC942
secondary
#2D46A7
accent
#59F92F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E