#D2D86C#D2D86C
#D2D86C is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.132 H 111.7°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D86C |
|---|---|
| RGB | rgb(210, 216, 108) |
| HSL | hsl(63, 58%, 64%) |
| HSV | hsv(63, 50%, 85%) |
| CMYK | cmyk(2.8%, 0%, 50%, 15.3%) |
| CIE-LAB | lab(83.91, -16.94, 51.99) |
| CIE-LCH | lch(83.91, 54.68, 108.05°) |
| OKLab | oklab(85.54% -0.0489 0.1228) |
| OKLCH | oklch(85.54% 0.132 111.7) |
| XYZ | xyz(53.8420, 63.8971, 23.6815) |
| Luminance | 0.6390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.47
Greenish Tan
#BCCB7A
ΔE00 6.09
Khaki (CSS)
#F0E68C
ΔE00 6.16
Dull Yellow
#EEDC5B
ΔE00 7.08
Sickly Yellow
#D0E429
ΔE00 7.35
Pale Olive
#B9CC81
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D86C #726CD8
analogous
#D8A86C #D2D86C #9CD86C
triadic
#D2D86C #6CD2D8 #D86CD2
tetradic
#D2D86C #6CD8A8 #726CD8 #D86C9C
square
#D2D86C #6CD8A8 #726CD8 #D86C9C
split-complementary
#D2D86C #6C9CD8 #A86CD8
monochromatic
#999F2A #C3CB3C #D2D86C #E1E59C #F0F2CD
Accessibility & contrast
On white
1.52
#D2D86C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.78
#D2D86C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D86C
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D86C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D86C | 1.00 | 1.52 | 13.78 | 13.78 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#E6D372
Tritanopia (blue-blind)
#DECDBF
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d86c; /* rgb */ color: rgb(210, 216, 108); /* oklch */ color: oklch(85.5% 0.132 111.7);
Tailwind
colors: {
custom: {
50: '#e2e399',
500: '#d2d86c',
950: '#000000',
},
}SCSS
$custom: #d2d86c; $custom-light: #e2e399; $custom-dark: #000000;
JSON
{
"hex": "#d2d86c",
"rgb": {
"r": 210,
"g": 216,
"b": 108
},
"hsl": {
"h": 63.333,
"s": 58.065,
"l": 63.529
},
"oklch": {
"l": 0.85542,
"c": 0.13216,
"h": 111.7
},
"luminance": 0.63896
}Semantic roles & 50–950 ramp
primary
#D2D86C
secondary
#4A45A3
accent
#20C629
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F