#EDCA42#EDCA42
#EDCA42 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.6% C 0.152 H 94.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #EDCA42 |
|---|---|
| RGB | rgb(237, 202, 66) |
| HSL | hsl(48, 83%, 59%) |
| HSV | hsv(48, 72%, 93%) |
| CMYK | cmyk(0%, 14.8%, 72.2%, 7.1%) |
| CIE-LAB | lab(82.19, -1.49, 68.69) |
| CIE-LCH | lch(82.19, 68.71, 91.24°) |
| OKLab | oklab(84.6% -0.011 0.152) |
| OKLCH | oklch(84.6% 0.152 94.1) |
| XYZ | xyz(57.0320, 60.6421, 13.8543) |
| Luminance | 0.6064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.97
Light Mustard
#F7D560
ΔE00 3.30
Light Gold
#FDDC5C
ΔE00 4.22
Gold
#FFD700
ΔE00 5.15
Pale Gold
#FDDE6C
ΔE00 5.21
Golden
#F5BF03
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDCA42 #4265ED
analogous
#ED7442 #EDCA42 #BBED42
triadic
#EDCA42 #42EDCA #CA42ED
tetradic
#EDCA42 #42ED74 #4265ED #ED42BB
square
#EDCA42 #42ED74 #4265ED #ED42BB
split-complementary
#EDCA42 #42BBED #7442ED
monochromatic
#A58610 #DDB415 #EDCA42 #F2DA7A #F8E9B2
Accessibility & contrast
On white
1.60
#EDCA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.13
#EDCA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDCA42
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDCA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDCA42 | 1.00 | 1.60 | 13.13 | 13.13 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC62C
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#FFBAAF
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #edca42; /* rgb */ color: rgb(237, 202, 66); /* oklch */ color: oklch(84.6% 0.152 94.1);
Tailwind
colors: {
custom: {
50: '#f7d97f',
500: '#edca42',
950: '#000000',
},
}SCSS
$custom: #edca42; $custom-light: #f7d97f; $custom-dark: #000000;
JSON
{
"hex": "#edca42",
"rgb": {
"r": 237,
"g": 202,
"b": 66
},
"hsl": {
"h": 47.719,
"s": 82.609,
"l": 59.412
},
"oklch": {
"l": 0.84601,
"c": 0.1524,
"h": 94.1
},
"luminance": 0.60639
}Semantic roles & 50–950 ramp
primary
#EDCA42
secondary
#2D46A7
accent
#58F92F
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E