#D2DB7A#D2DB7A
#D2DB7A is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.4% C 0.122 H 113.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DB7A |
|---|---|
| RGB | rgb(210, 219, 122) |
| HSL | hsl(66, 57%, 67%) |
| HSV | hsv(66, 44%, 86%) |
| CMYK | cmyk(4.1%, 0%, 44.3%, 14.1%) |
| CIE-LAB | lab(84.88, -17.10, 46.47) |
| CIE-LCH | lch(84.88, 49.52, 110.20°) |
| OKLab | oklab(86.37% -0.0481 0.1117) |
| OKLCH | oklch(86.37% 0.122 113.3) |
| XYZ | xyz(55.4234, 65.7706, 28.1839) |
| Luminance | 0.6577 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.60
Greenish Tan
#BCCB7A
ΔE00 5.11
Khaki (CSS)
#F0E68C
ΔE00 5.95
Light Khaki
#E6F2A2
ΔE00 6.11
Pale Olive
#B9CC81
ΔE00 6.19
Pale Olive Green
#B1D27B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DB7A #837ADB
analogous
#DBB47A #D2DB7A #A2DB7A
triadic
#D2DB7A #7AD2DB #DB7AD2
tetradic
#D2DB7A #7ADBB4 #837ADB #DB7AA2
square
#D2DB7A #7ADBB4 #837ADB #DB7AA2
split-complementary
#D2DB7A #7AA2DB #B47ADB
monochromatic
#A0AC2F #C2CE4A #D2DB7A #E2E8AA #F3F5DA
Accessibility & contrast
On white
1.48
#D2DB7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#D2DB7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DB7A
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DB7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DB7A | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D372
Deuteranopia (green-blind)
#E7D57F
Tritanopia (blue-blind)
#DDD1C4
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #d2db7a; /* rgb */ color: rgb(210, 219, 122); /* oklch */ color: oklch(86.4% 0.122 113.3);
Tailwind
colors: {
custom: {
50: '#e1e6a2',
500: '#d2db7a',
950: '#000000',
},
}SCSS
$custom: #d2db7a; $custom-light: #e1e6a2; $custom-dark: #000000;
JSON
{
"hex": "#d2db7a",
"rgb": {
"r": 210,
"g": 219,
"b": 122
},
"hsl": {
"h": 65.567,
"s": 57.396,
"l": 66.863
},
"oklch": {
"l": 0.86368,
"c": 0.1216,
"h": 113.3
},
"luminance": 0.6577
}Semantic roles & 50–950 ramp
primary
#D2DB7A
secondary
#544BAF
accent
#21C530
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480