#EDC852#EDC852
#EDC852 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.140 H 91.6°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #EDC852 |
|---|---|
| RGB | rgb(237, 200, 82) |
| HSL | hsl(46, 81%, 63%) |
| HSV | hsv(46, 65%, 93%) |
| CMYK | cmyk(0%, 15.6%, 65.4%, 7.1%) |
| CIE-LAB | lab(81.80, 0.36, 61.90) |
| CIE-LCH | lch(81.80, 61.90, 89.66°) |
| OKLab | oklab(84.33% -0.0039 0.1403) |
| OKLCH | oklch(84.33% 0.14 91.6) |
| XYZ | xyz(57.1052, 59.9255, 16.5399) |
| Luminance | 0.5992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 2.00
Light Mustard
#F7D560
ΔE00 3.07
Light Gold
#FDDC5C
ΔE00 4.77
Pale Gold
#FDDE6C
ΔE00 5.17
Mustard
#DBB42C
ΔE00 5.29
Sand (survey)
#E2CA76
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EDC852 #5277ED
analogous
#ED7A52 #EDC852 #C5ED52
triadic
#EDC852 #52EDC8 #C852ED
tetradic
#EDC852 #52ED7A #5277ED #ED52C5
square
#EDC852 #52ED7A #5277ED #ED52C5
split-complementary
#EDC852 #52C5ED #7A52ED
monochromatic
#B28C13 #E7B61B #EDC852 #F3DA89 #F9EBC1
Accessibility & contrast
On white
1.62
#EDC852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.98
#EDC852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EDC852
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EDC852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EDC852 | 1.00 | 1.62 | 12.98 | 12.98 |
| #FFFFFF | 1.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #edc852; /* rgb */ color: rgb(237, 200, 82); /* oklch */ color: oklch(84.3% 0.140 91.6);
Tailwind
colors: {
custom: {
50: '#f7d888',
500: '#edc852',
950: '#000000',
},
}SCSS
$custom: #edc852; $custom-light: #f7d888; $custom-dark: #000000;
JSON
{
"hex": "#edc852",
"rgb": {
"r": 237,
"g": 200,
"b": 82
},
"hsl": {
"h": 45.677,
"s": 81.152,
"l": 62.549
},
"oklch": {
"l": 0.84331,
"c": 0.14039,
"h": 91.6
},
"luminance": 0.59922
}Semantic roles & 50–950 ramp
primary
#EDC852
secondary
#3150B2
accent
#3BDE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F