#D2D85F#D2D85F
#D2D85F is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.144 H 111.7°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D85F |
|---|---|
| RGB | rgb(210, 216, 95) |
| HSL | hsl(63, 61%, 61%) |
| HSV | hsv(63, 56%, 85%) |
| CMYK | cmyk(2.8%, 0%, 56%, 15.3%) |
| CIE-LAB | lab(83.78, -18.02, 57.77) |
| CIE-LCH | lch(83.78, 60.51, 107.32°) |
| OKLab | oklab(85.39% -0.0533 0.1339) |
| OKLCH | oklch(85.39% 0.144 111.7) |
| XYZ | xyz(53.2010, 63.6407, 20.3056) |
| Luminance | 0.6364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.97
Sickly Yellow
#D0E429
ΔE00 5.92
Dull Yellow
#EEDC5B
ΔE00 6.45
Green Yellow
#B5CE08
ΔE00 6.68
Piss Yellow
#DDD618
ΔE00 6.72
Khaki (CSS)
#F0E68C
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D85F #655FD8
analogous
#D8A15F #D2D85F #95D85F
triadic
#D2D85F #5FD2D8 #D85FD2
tetradic
#D2D85F #5FD8A1 #655FD8 #D85F95
square
#D2D85F #5FD8A1 #655FD8 #D85F95
split-complementary
#D2D85F #5F95D8 #A15FD8
monochromatic
#929825 #C1C931 #D2D85F #E0E490 #EEF0C1
Accessibility & contrast
On white
1.53
#D2D85F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.73
#D2D85F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D85F
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D85F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D85F | 1.00 | 1.53 | 13.73 | 13.73 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#DFCCBE
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d85f; /* rgb */ color: rgb(210, 216, 95); /* oklch */ color: oklch(85.4% 0.144 111.7);
Tailwind
colors: {
custom: {
50: '#e2e390',
500: '#d2d85f',
950: '#000000',
},
}SCSS
$custom: #d2d85f; $custom-light: #e2e390; $custom-dark: #000000;
JSON
{
"hex": "#d2d85f",
"rgb": {
"r": 210,
"g": 216,
"b": 95
},
"hsl": {
"h": 62.975,
"s": 60.804,
"l": 60.98
},
"oklch": {
"l": 0.85392,
"c": 0.14413,
"h": 111.7
},
"luminance": 0.6364
}Semantic roles & 50–950 ramp
primary
#D2D85F
secondary
#443F9C
accent
#1DC826
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F