#D2C14D#D2C14D
#D2C14D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.136 H 101.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C14D |
|---|---|
| RGB | rgb(210, 193, 77) |
| HSL | hsl(52, 60%, 56%) |
| HSV | hsv(52, 63%, 82%) |
| CMYK | cmyk(0%, 8.1%, 63.3%, 17.6%) |
| CIE-LAB | lab(77.51, -7.69, 58.72) |
| CIE-LCH | lch(77.51, 59.23, 97.46°) |
| OKLab | oklab(80.35% -0.0259 0.1336) |
| OKLCH | oklch(80.35% 0.136 101) |
| XYZ | xyz(46.9898, 52.3794, 14.6548) |
| Luminance | 0.5238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.59
Ugly Yellow
#D0C101
ΔE00 4.79
Olive Yellow
#C2B709
ΔE00 5.14
Vomit Yellow
#C7C10C
ΔE00 5.15
Dirty Yellow
#CDC50A
ΔE00 5.19
Puke Yellow
#C2BE0E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C14D #4D5ED2
analogous
#D27F4D #D2C14D #A1D24D
triadic
#D2C14D #4DD2C1 #C14DD2
tetradic
#D2C14D #4DD27F #4D5ED2 #D24DA1
square
#D2C14D #4DD27F #4D5ED2 #D24DA1
split-complementary
#D2C14D #4DA1D2 #7F4DD2
monochromatic
#837721 #B4A32E #D2C14D #DED27E #EBE3AF
Accessibility & contrast
On white
1.83
#D2C14D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#D2C14D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C14D
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C14D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C14D | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC3F
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#E1B4A9
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d2c14d; /* rgb */ color: rgb(210, 193, 77); /* oklch */ color: oklch(80.3% 0.136 101.0);
Tailwind
colors: {
custom: {
50: '#e3d384',
500: '#d2c14d',
950: '#000000',
},
}SCSS
$custom: #d2c14d; $custom-light: #e3d384; $custom-dark: #000000;
JSON
{
"hex": "#d2c14d",
"rgb": {
"r": 210,
"g": 193,
"b": 77
},
"hsl": {
"h": 52.331,
"s": 59.641,
"l": 56.275
},
"oklch": {
"l": 0.80347,
"c": 0.13611,
"h": 101
},
"luminance": 0.52377
}Semantic roles & 50–950 ramp
primary
#D2C14D
secondary
#39438A
accent
#59E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E