#D2C460#D2C460
#D2C460 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.122 H 101.4°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C460 |
|---|---|
| RGB | rgb(210, 196, 96) |
| HSL | hsl(53, 56%, 60%) |
| HSV | hsv(53, 54%, 82%) |
| CMYK | cmyk(0%, 6.7%, 54.3%, 17.6%) |
| CIE-LAB | lab(78.48, -7.87, 51.25) |
| CIE-LCH | lch(78.48, 51.85, 98.73°) |
| OKLab | oklab(81.18% -0.0243 0.12) |
| OKLCH | oklch(81.18% 0.122 101.4) |
| XYZ | xyz(48.4312, 54.0278, 18.9413) |
| Luminance | 0.5403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.43
Darkkhaki
#BDB76B
ΔE00 5.66
Sandy
#F1DA7A
ΔE00 6.25
Dull Yellow
#EEDC5B
ΔE00 6.75
Greenish Beige
#C9D179
ΔE00 6.86
Vomit Yellow
#C7C10C
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C460 #606ED2
analogous
#D28B60 #D2C460 #A7D260
triadic
#D2C460 #60D2C4 #C460D2
tetradic
#D2C460 #60D28B #606ED2 #D260A7
square
#D2C460 #60D28B #606ED2 #D260A7
split-complementary
#D2C460 #60A7D2 #8B60D2
monochromatic
#8F8329 #BFAE36 #D2C460 #DFD690 #EDE7BF
Accessibility & contrast
On white
1.78
#D2C460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#D2C460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C460
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C460 | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF56
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#E0B8AD
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d2c460; /* rgb */ color: rgb(210, 196, 96); /* oklch */ color: oklch(81.2% 0.122 101.4);
Tailwind
colors: {
custom: {
50: '#e2d590',
500: '#d2c460',
950: '#000000',
},
}SCSS
$custom: #d2c460; $custom-light: #e2d590; $custom-dark: #000000;
JSON
{
"hex": "#d2c460",
"rgb": {
"r": 210,
"g": 196,
"b": 96
},
"hsl": {
"h": 52.632,
"s": 55.882,
"l": 60
},
"oklch": {
"l": 0.81176,
"c": 0.12244,
"h": 101.4
},
"luminance": 0.54026
}Semantic roles & 50–950 ramp
primary
#D2C460
secondary
#414B95
accent
#5BDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F