#D2C24F#D2C24F
#D2C24F is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.135 H 101.4°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C24F |
|---|---|
| RGB | rgb(210, 194, 79) |
| HSL | hsl(53, 59%, 57%) |
| HSV | hsv(53, 62%, 82%) |
| CMYK | cmyk(0%, 7.6%, 62.4%, 17.6%) |
| CIE-LAB | lab(77.79, -8.08, 58.16) |
| CIE-LCH | lch(77.79, 58.72, 97.90°) |
| OKLab | oklab(80.58% -0.0268 0.1327) |
| OKLCH | oklch(80.58% 0.135 101.4) |
| XYZ | xyz(47.2833, 52.8516, 15.1064) |
| Luminance | 0.5285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.84
Ugly Yellow
#D0C101
ΔE00 4.93
Vomit Yellow
#C7C10C
ΔE00 5.17
Dirty Yellow
#CDC50A
ΔE00 5.20
Olive Yellow
#C2B709
ΔE00 5.30
Puke Yellow
#C2BE0E
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C24F #4F5FD2
analogous
#D2814F #D2C24F #A1D24F
triadic
#D2C24F #4FD2C2 #C24FD2
tetradic
#D2C24F #4FD281 #4F5FD2 #D24FA1
square
#D2C24F #4FD281 #4F5FD2 #D24FA1
split-complementary
#D2C24F #4FA1D2 #814FD2
monochromatic
#857922 #B5A52E #D2C24F #DED380 #EBE4B0
Accessibility & contrast
On white
1.82
#D2C24F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#D2C24F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C24F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C24F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C24F | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC42
Deuteranopia (green-blind)
#D8C355
Tritanopia (blue-blind)
#E1B5AA
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d2c24f; /* rgb */ color: rgb(210, 194, 79); /* oklch */ color: oklch(80.6% 0.135 101.4);
Tailwind
colors: {
custom: {
50: '#e3d485',
500: '#d2c24f',
950: '#000000',
},
}SCSS
$custom: #d2c24f; $custom-light: #e3d485; $custom-dark: #000000;
JSON
{
"hex": "#d2c24f",
"rgb": {
"r": 210,
"g": 194,
"b": 79
},
"hsl": {
"h": 52.672,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.80575,
"c": 0.13539,
"h": 101.4
},
"luminance": 0.5285
}Semantic roles & 50–950 ramp
primary
#D2C24F
secondary
#3A448C
accent
#59E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E