#D2DF7D#D2DF7D
#D2DF7D is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.3% C 0.123 H 115.2°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DF7D |
|---|---|
| RGB | rgb(210, 223, 125) |
| HSL | hsl(68, 60%, 68%) |
| HSV | hsv(68, 44%, 87%) |
| CMYK | cmyk(5.8%, 0%, 43.9%, 12.5%) |
| CIE-LAB | lab(85.99, -18.77, 46.38) |
| CIE-LCH | lch(85.99, 50.03, 112.03°) |
| OKLab | oklab(87.26% -0.0526 0.1117) |
| OKLCH | oklch(87.26% 0.123 115.2) |
| XYZ | xyz(56.6683, 67.9583, 29.5300) |
| Luminance | 0.6796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.43
Light Khaki
#E6F2A2
ΔE00 5.41
Greenish Tan
#BCCB7A
ΔE00 5.49
Pale Olive
#B9CC81
ΔE00 6.33
Khaki (CSS)
#F0E68C
ΔE00 6.40
Pale Olive Green
#B1D27B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DF7D #8A7DDF
analogous
#DFBB7D #D2DF7D #A1DF7D
triadic
#D2DF7D #7DD2DF #DF7DD2
tetradic
#D2DF7D #7DDFBB #8A7DDF #DF7DA1
square
#D2DF7D #7DDFBB #8A7DDF #DF7DA1
split-complementary
#D2DF7D #7DA1DF #BB7DDF
monochromatic
#A3B52D #C1D34C #D2DF7D #E3EBAE #F4F7DF
Accessibility & contrast
On white
1.44
#D2DF7D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.59
#D2DF7D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DF7D
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DF7D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DF7D | 1.00 | 1.44 | 14.59 | 14.59 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD675
Deuteranopia (green-blind)
#EAD882
Tritanopia (blue-blind)
#DCD5C8
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #d2df7d; /* rgb */ color: rgb(210, 223, 125); /* oklch */ color: oklch(87.3% 0.123 115.2);
Tailwind
colors: {
custom: {
50: '#e1e8a4',
500: '#d2df7d',
950: '#000000',
},
}SCSS
$custom: #d2df7d; $custom-light: #e1e8a4; $custom-dark: #000000;
JSON
{
"hex": "#d2df7d",
"rgb": {
"r": 210,
"g": 223,
"b": 125
},
"hsl": {
"h": 67.959,
"s": 60.494,
"l": 68.235
},
"oklch": {
"l": 0.87263,
"c": 0.12343,
"h": 115.2
},
"luminance": 0.67958
}Semantic roles & 50–950 ramp
primary
#D2DF7D
secondary
#594AB6
accent
#1DC834
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480