#D2DB7B#D2DB7B
#D2DB7B is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.4% C 0.121 H 113.3°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DB7B |
|---|---|
| RGB | rgb(210, 219, 123) |
| HSL | hsl(66, 57%, 67%) |
| HSV | hsv(66, 44%, 86%) |
| CMYK | cmyk(4.1%, 0%, 43.8%, 14.1%) |
| CIE-LAB | lab(84.89, -17.00, 46.00) |
| CIE-LCH | lch(84.89, 49.04, 110.28°) |
| OKLab | oklab(86.38% -0.0477 0.1107) |
| OKLCH | oklch(86.38% 0.121 113.3) |
| XYZ | xyz(55.4857, 65.7956, 28.5119) |
| Luminance | 0.6580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.54
Greenish Tan
#BCCB7A
ΔE00 5.03
Khaki (CSS)
#F0E68C
ΔE00 5.94
Light Khaki
#E6F2A2
ΔE00 6.02
Pale Olive
#B9CC81
ΔE00 6.09
Pale Olive Green
#B1D27B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DB7B #847BDB
analogous
#DBB47B #D2DB7B #A2DB7B
triadic
#D2DB7B #7BD2DB #DB7BD2
tetradic
#D2DB7B #7BDBB4 #847BDB #DB7BA2
square
#D2DB7B #7BDBB4 #847BDB #DB7BA2
split-complementary
#D2DB7B #7BA2DB #B47BDB
monochromatic
#A1AD2F #C2CE4B #D2DB7B #E2E8AB #F3F5DB
Accessibility & contrast
On white
1.48
#D2DB7B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#D2DB7B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DB7B
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DB7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DB7B | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D373
Deuteranopia (green-blind)
#E7D580
Tritanopia (blue-blind)
#DDD1C4
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #d2db7b; /* rgb */ color: rgb(210, 219, 123); /* oklch */ color: oklch(86.4% 0.121 113.3);
Tailwind
colors: {
custom: {
50: '#e1e6a3',
500: '#d2db7b',
950: '#000000',
},
}SCSS
$custom: #d2db7b; $custom-light: #e1e6a3; $custom-dark: #000000;
JSON
{
"hex": "#d2db7b",
"rgb": {
"r": 210,
"g": 219,
"b": 123
},
"hsl": {
"h": 65.625,
"s": 57.143,
"l": 67.059
},
"oklch": {
"l": 0.86382,
"c": 0.12055,
"h": 113.3
},
"luminance": 0.65795
}Semantic roles & 50–950 ramp
primary
#D2DB7B
secondary
#544BAF
accent
#21C530
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480