#EDC842#EDC842
#EDC842 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.2% C 0.151 H 93.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #EDC842 |
|---|---|
| RGB | rgb(237, 200, 66) |
| HSL | hsl(47, 83%, 59%) |
| HSV | hsv(47, 72%, 93%) |
| CMYK | cmyk(0%, 15.6%, 72.2%, 7.1%) |
| CIE-LAB | lab(81.68, -0.46, 68.20) |
| CIE-LCH | lch(81.68, 68.20, 90.39°) |
| OKLab | oklab(84.2% -0.008 0.151) |
| OKLCH | oklch(84.2% 0.151 93) |
| XYZ | xyz(56.5658, 59.7097, 13.6989) |
| Luminance | 0.5971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.15
Light Mustard
#F7D560
ΔE00 3.55
Light Gold
#FDDC5C
ΔE00 4.67
Golden
#F5BF03
ΔE00 4.91
Mustard
#DBB42C
ΔE00 5.01
Golden Yellow
#FEC615
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDC842 #4267ED
analogous
#ED7342 #EDC842 #BCED42
triadic
#EDC842 #42EDC8 #C842ED
tetradic
#EDC842 #42ED73 #4267ED #ED42BC
square
#EDC842 #42ED73 #4267ED #ED42BC
split-complementary
#EDC842 #42BCED #7342ED
monochromatic
#A58510 #DDB215 #EDC842 #F2D87A #F8E9B2
Accessibility & contrast
On white
1.62
#EDC842 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.94
#EDC842 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDC842
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDC842 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDC842 | 1.00 | 1.62 | 12.94 | 12.94 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC52D
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#FFB8AD
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #edc842; /* rgb */ color: rgb(237, 200, 66); /* oklch */ color: oklch(84.2% 0.151 93.0);
Tailwind
colors: {
custom: {
50: '#f7d87f',
500: '#edc842',
950: '#000000',
},
}SCSS
$custom: #edc842; $custom-light: #f7d87f; $custom-dark: #000000;
JSON
{
"hex": "#edc842",
"rgb": {
"r": 237,
"g": 200,
"b": 66
},
"hsl": {
"h": 47.018,
"s": 82.609,
"l": 59.412
},
"oklch": {
"l": 0.84201,
"c": 0.15116,
"h": 93
},
"luminance": 0.59706
}Semantic roles & 50–950 ramp
primary
#EDC842
secondary
#2D47A7
accent
#5BF92F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E