#D2C95D#D2C95D
#D2C95D is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.130 H 104.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C95D |
|---|---|
| RGB | rgb(210, 201, 93) |
| HSL | hsl(55, 57%, 59%) |
| HSV | hsv(55, 56%, 82%) |
| CMYK | cmyk(0%, 4.3%, 55.7%, 17.6%) |
| CIE-LAB | lab(79.77, -10.66, 54.12) |
| CIE-LCH | lch(79.77, 55.16, 101.14°) |
| OKLab | oklab(82.19% -0.0326 0.1259) |
| OKLCH | oklch(82.19% 0.13 104.5) |
| XYZ | xyz(49.4423, 56.2669, 18.6100) |
| Luminance | 0.5626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.71
Dull Yellow
#EEDC5B
ΔE00 5.85
Greenish Beige
#C9D179
ΔE00 5.91
Dirty Yellow
#CDC50A
ΔE00 6.08
Vomit Yellow
#C7C10C
ΔE00 6.11
Puke Yellow
#C2BE0E
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C95D #5D66D2
analogous
#D28F5D #D2C95D #A0D25D
triadic
#D2C95D #5DD2C9 #C95DD2
tetradic
#D2C95D #5DD28F #5D66D2 #D25DA0
square
#D2C95D #5DD28F #5D66D2 #D25DA0
split-complementary
#D2C95D #5DA0D2 #8F5DD2
monochromatic
#8D8527 #BDB335 #D2C95D #DFD98D #EDE9BD
Accessibility & contrast
On white
1.71
#D2C95D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.25
#D2C95D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C95D
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C95D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C95D | 1.00 | 1.71 | 12.25 | 12.25 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#E0BDB1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d2c95d; /* rgb */ color: rgb(210, 201, 93); /* oklch */ color: oklch(82.2% 0.130 104.5);
Tailwind
colors: {
custom: {
50: '#e2d98e',
500: '#d2c95d',
950: '#000000',
},
}SCSS
$custom: #d2c95d; $custom-light: #e2d98e; $custom-dark: #000000;
JSON
{
"hex": "#d2c95d",
"rgb": {
"r": 210,
"g": 201,
"b": 93
},
"hsl": {
"h": 55.385,
"s": 56.522,
"l": 59.412
},
"oklch": {
"l": 0.82188,
"c": 0.13003,
"h": 104.5
},
"luminance": 0.56265
}Semantic roles & 50–950 ramp
primary
#D2C95D
secondary
#404693
accent
#54E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F