#D2DF8D#D2DF8D
#D2DF8D is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.5% C 0.106 H 116.0°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DF8D |
|---|---|
| RGB | rgb(210, 223, 141) |
| HSL | hsl(70, 56%, 71%) |
| HSV | hsv(70, 37%, 87%) |
| CMYK | cmyk(5.8%, 0%, 36.8%, 12.5%) |
| CIE-LAB | lab(86.21, -17.00, 38.75) |
| CIE-LCH | lch(86.21, 42.32, 113.68°) |
| OKLab | oklab(87.51% -0.0464 0.0952) |
| OKLCH | oklch(87.51% 0.106 116) |
| XYZ | xyz(57.7739, 68.4006, 35.3532) |
| Luminance | 0.6840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.67
Light Khaki
#E6F2A2
ΔE00 4.30
Greenish Tan
#BCCB7A
ΔE00 4.92
Pale Olive
#B9CC81
ΔE00 5.19
Pale Olive Green
#B1D27B
ΔE00 5.97
Khaki (CSS)
#F0E68C
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DF8D #9A8DDF
analogous
#DFC38D #D2DF8D #A9DF8D
triadic
#D2DF8D #8DD2DF #DF8DD2
tetradic
#D2DF8D #8DDFC3 #9A8DDF #DF8DA9
square
#D2DF8D #8DDFC3 #9A8DDF #DF8DA9
split-complementary
#D2DF8D #8DA9DF #C38DDF
monochromatic
#A7BD35 #BFD25D #D2DF8D #E5ECBD #F6F8E7
Accessibility & contrast
On white
1.43
#D2DF8D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.68
#D2DF8D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DF8D
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DF8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DF8D | 1.00 | 1.43 | 14.68 | 14.68 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD787
Deuteranopia (green-blind)
#E9D891
Tritanopia (blue-blind)
#DBD6CB
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #d2df8d; /* rgb */ color: rgb(210, 223, 141); /* oklch */ color: oklch(87.5% 0.106 116.0);
Tailwind
colors: {
custom: {
50: '#e1e9af',
500: '#d2df8d',
950: '#000000',
},
}SCSS
$custom: #d2df8d; $custom-light: #e1e9af; $custom-dark: #000000;
JSON
{
"hex": "#d2df8d",
"rgb": {
"r": 210,
"g": 223,
"b": 141
},
"hsl": {
"h": 69.512,
"s": 56.164,
"l": 71.373
},
"oklch": {
"l": 0.87511,
"c": 0.10592,
"h": 116
},
"luminance": 0.684
}Semantic roles & 50–950 ramp
primary
#D2DF8D
secondary
#6859B7
accent
#22C43B
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481