#D2DF7B#D2DF7B
#D2DF7B is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.2% C 0.126 H 115.1°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DF7B |
|---|---|
| RGB | rgb(210, 223, 123) |
| HSL | hsl(68, 61%, 68%) |
| HSV | hsv(68, 45%, 87%) |
| CMYK | cmyk(5.8%, 0%, 44.8%, 12.5%) |
| CIE-LAB | lab(85.96, -18.97, 47.32) |
| CIE-LCH | lch(85.96, 50.98, 111.85°) |
| OKLab | oklab(87.24% -0.0533 0.1136) |
| OKLCH | oklch(87.24% 0.126 115.1) |
| XYZ | xyz(56.5418, 67.9077, 28.8639) |
| Luminance | 0.6791 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.53
Light Khaki
#E6F2A2
ΔE00 5.60
Greenish Tan
#BCCB7A
ΔE00 5.63
Khaki (CSS)
#F0E68C
ΔE00 6.42
Pale Olive
#B9CC81
ΔE00 6.52
Pale Olive Green
#B1D27B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DF7B #887BDF
analogous
#DFBA7B #D2DF7B #A0DF7B
triadic
#D2DF7B #7BD2DF #DF7BD2
tetradic
#D2DF7B #7BDFBA #887BDF #DF7BA0
square
#D2DF7B #7BDFBA #887BDF #DF7BA0
split-complementary
#D2DF7B #7BA0DF #BA7BDF
monochromatic
#A2B42C #C1D34A #D2DF7B #E3EBAC #F4F7DE
Accessibility & contrast
On white
1.44
#D2DF7B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.58
#D2DF7B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DF7B
14.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DF7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DF7B | 1.00 | 1.44 | 14.58 | 14.58 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD673
Deuteranopia (green-blind)
#EAD880
Tritanopia (blue-blind)
#DCD5C7
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #d2df7b; /* rgb */ color: rgb(210, 223, 123); /* oklch */ color: oklch(87.2% 0.126 115.1);
Tailwind
colors: {
custom: {
50: '#e1e8a3',
500: '#d2df7b',
950: '#000000',
},
}SCSS
$custom: #d2df7b; $custom-light: #e1e8a3; $custom-dark: #000000;
JSON
{
"hex": "#d2df7b",
"rgb": {
"r": 210,
"g": 223,
"b": 123
},
"hsl": {
"h": 67.8,
"s": 60.976,
"l": 67.843
},
"oklch": {
"l": 0.87235,
"c": 0.12553,
"h": 115.1
},
"luminance": 0.67907
}Semantic roles & 50–950 ramp
primary
#D2DF7B
secondary
#5749B5
accent
#1DC933
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480