#D2C459#D2C459
#D2C459 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.1% C 0.129 H 101.9°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C459 |
|---|---|
| RGB | rgb(210, 196, 89) |
| HSL | hsl(53, 57%, 59%) |
| HSV | hsv(53, 58%, 82%) |
| CMYK | cmyk(0%, 6.7%, 57.6%, 17.6%) |
| CIE-LAB | lab(78.41, -8.41, 54.41) |
| CIE-LCH | lch(78.41, 55.05, 98.79°) |
| OKLab | oklab(81.1% -0.0266 0.126) |
| OKLCH | oklch(81.1% 0.129 101.9) |
| XYZ | xyz(48.1231, 53.9046, 17.3190) |
| Luminance | 0.5390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.05
Vomit Yellow
#C7C10C
ΔE00 6.00
Ugly Yellow
#D0C101
ΔE00 6.02
Dirty Yellow
#CDC50A
ΔE00 6.04
Mustard Yellow
#D2BD0A
ΔE00 6.06
Puke Yellow
#C2BE0E
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C459 #5967D2
analogous
#D28759 #D2C459 #A3D259
triadic
#D2C459 #59D2C4 #C459D2
tetradic
#D2C459 #59D287 #5967D2 #D259A3
square
#D2C459 #59D287 #5967D2 #D259A3
split-complementary
#D2C459 #59A3D2 #8759D2
monochromatic
#8B7F26 #BBAB33 #D2C459 #DFD589 #ECE6B9
Accessibility & contrast
On white
1.78
#D2C459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#D2C459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C459
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C459 | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE4E
Deuteranopia (green-blind)
#D8C55E
Tritanopia (blue-blind)
#E0B8AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c459; /* rgb */ color: rgb(210, 196, 89); /* oklch */ color: oklch(81.1% 0.129 101.9);
Tailwind
colors: {
custom: {
50: '#e2d58b',
500: '#d2c459',
950: '#000000',
},
}SCSS
$custom: #d2c459; $custom-light: #e2d58b; $custom-dark: #000000;
JSON
{
"hex": "#d2c459",
"rgb": {
"r": 210,
"g": 196,
"b": 89
},
"hsl": {
"h": 53.058,
"s": 57.346,
"l": 58.627
},
"oklch": {
"l": 0.81095,
"c": 0.12879,
"h": 101.9
},
"luminance": 0.53903
}Semantic roles & 50–950 ramp
primary
#D2C459
secondary
#3E4891
accent
#59E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F