#D2D85E#D2D85E
#D2D85E is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.4% C 0.145 H 111.7°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D2D85E |
|---|---|
| RGB | rgb(210, 216, 94) |
| HSL | hsl(63, 61%, 61%) |
| HSV | hsv(63, 56%, 85%) |
| CMYK | cmyk(2.8%, 0%, 56.5%, 15.3%) |
| CIE-LAB | lab(83.77, -18.09, 58.20) |
| CIE-LCH | lch(83.77, 60.94, 107.27°) |
| OKLab | oklab(85.38% -0.0536 0.1347) |
| OKLCH | oklch(85.38% 0.145 111.7) |
| XYZ | xyz(53.1559, 63.6227, 20.0678) |
| Luminance | 0.6362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.09
Sickly Yellow
#D0E429
ΔE00 5.82
Dull Yellow
#EEDC5B
ΔE00 6.41
Green Yellow
#B5CE08
ΔE00 6.60
Piss Yellow
#DDD618
ΔE00 6.61
Khaki (CSS)
#F0E68C
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2D85E #645ED8
analogous
#D8A15E #D2D85E #95D85E
triadic
#D2D85E #5ED2D8 #D85ED2
tetradic
#D2D85E #5ED8A1 #645ED8 #D85E95
square
#D2D85E #5ED8A1 #645ED8 #D85E95
split-complementary
#D2D85E #5E95D8 #A15ED8
monochromatic
#919725 #C1C831 #D2D85E #E0E48F #EEF0C1
Accessibility & contrast
On white
1.53
#D2D85E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.72
#D2D85E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2D85E
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2D85E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2D85E | 1.00 | 1.53 | 13.72 | 13.72 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF51
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #d2d85e; /* rgb */ color: rgb(210, 216, 94); /* oklch */ color: oklch(85.4% 0.145 111.7);
Tailwind
colors: {
custom: {
50: '#e2e390',
500: '#d2d85e',
950: '#000000',
},
}SCSS
$custom: #d2d85e; $custom-light: #e2e390; $custom-dark: #000000;
JSON
{
"hex": "#d2d85e",
"rgb": {
"r": 210,
"g": 216,
"b": 94
},
"hsl": {
"h": 62.951,
"s": 61,
"l": 60.784
},
"oklch": {
"l": 0.85382,
"c": 0.145,
"h": 111.7
},
"luminance": 0.63622
}Semantic roles & 50–950 ramp
primary
#D2D85E
secondary
#433F9C
accent
#1DC925
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F