#D2CD6A#D2CD6A
#D2CD6A is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.122 H 106.2°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CD6A |
|---|---|
| RGB | rgb(210, 205, 106) |
| HSL | hsl(57, 54%, 62%) |
| HSV | hsv(57, 50%, 82%) |
| CMYK | cmyk(0%, 2.4%, 49.5%, 17.6%) |
| CIE-LAB | lab(80.96, -11.62, 49.43) |
| CIE-LCH | lch(80.96, 50.78, 103.22°) |
| OKLab | oklab(83.19% -0.0339 0.117) |
| OKLCH | oklch(83.19% 0.122 106.2) |
| XYZ | xyz(51.0125, 58.4063, 22.2192) |
| Luminance | 0.5840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.10
Sand (survey)
#E2CA76
ΔE00 5.90
Sandy
#F1DA7A
ΔE00 6.28
Khaki (CSS)
#F0E68C
ΔE00 6.39
Darkkhaki
#BDB76B
ΔE00 6.42
Dull Yellow
#EEDC5B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CD6A #6A6FD2
analogous
#D2996A #D2CD6A #A3D26A
triadic
#D2CD6A #6AD2CD #CD6AD2
tetradic
#D2CD6A #6AD299 #6A6FD2 #D26AA3
square
#D2CD6A #6AD299 #6A6FD2 #D26AA3
split-complementary
#D2CD6A #6AA3D2 #996AD2
monochromatic
#95902D #C4BD3B #D2CD6A #E0DD99 #EEEDC8
Accessibility & contrast
On white
1.66
#D2CD6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.68
#D2CD6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CD6A
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CD6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CD6A | 1.00 | 1.66 | 12.68 | 12.68 |
| #FFFFFF | 1.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC761
Deuteranopia (green-blind)
#DECB6F
Tritanopia (blue-blind)
#DFC2B6
Achromatopsia (no color)
#C9C9C9
Design tokens & code
CSS
--color: #d2cd6a; /* rgb */ color: rgb(210, 205, 106); /* oklch */ color: oklch(83.2% 0.122 106.2);
Tailwind
colors: {
custom: {
50: '#e2dc97',
500: '#d2cd6a',
950: '#000000',
},
}SCSS
$custom: #d2cd6a; $custom-light: #e2dc97; $custom-dark: #000000;
JSON
{
"hex": "#d2cd6a",
"rgb": {
"r": 210,
"g": 205,
"b": 106
},
"hsl": {
"h": 57.115,
"s": 53.608,
"l": 61.961
},
"oklch": {
"l": 0.83187,
"c": 0.12184,
"h": 106.2
},
"luminance": 0.58405
}Semantic roles & 50–950 ramp
primary
#D2CD6A
secondary
#464A9A
accent
#2CC124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F