#D2C697#D2C697
#D2C697 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.064 H 95.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C697 |
|---|---|
| RGB | rgb(210, 198, 151) |
| HSL | hsl(48, 40%, 71%) |
| HSV | hsv(48, 28%, 82%) |
| CMYK | cmyk(0%, 5.7%, 28.1%, 17.6%) |
| CIE-LAB | lab(79.80, -3.05, 25.12) |
| CIE-LCH | lch(79.80, 25.31, 96.92°) |
| OKLab | oklab(82.48% -0.0061 0.0634) |
| OKLCH | oklch(82.48% 0.064 95.5) |
| XYZ | xyz(52.3587, 56.3254, 37.3859) |
| Luminance | 0.5632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige (survey)
#E6DAA6
ΔE00 4.84
Sand
#C2B280
ΔE00 5.32
Very Light Brown
#D3B683
ΔE00 6.64
Putty
#BEAE8A
ΔE00 6.99
Vanilla
#F3E5AB
ΔE00 7.55
Wheat
#F5DEB3
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C697 #97A3D2
analogous
#D2A897 #D2C697 #C0D297
triadic
#D2C697 #97D2C6 #C697D2
tetradic
#D2C697 #97D2A8 #97A3D2 #D297C0
square
#D2C697 #97D2A8 #97A3D2 #D297C0
split-complementary
#D2C697 #97C0D2 #A897D2
monochromatic
#A79348 #C0AF6C #D2C697 #E4DDC2 #F6F3EA
Accessibility & contrast
On white
1.71
#D2C697 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.26
#D2C697 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C697
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C697 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C697 | 1.00 | 1.71 | 12.26 | 12.26 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0C394
Deuteranopia (green-blind)
#D3C899
Tritanopia (blue-blind)
#DBBFB9
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d2c697; /* rgb */ color: rgb(210, 198, 151); /* oklch */ color: oklch(82.5% 0.064 95.5);
Tailwind
colors: {
custom: {
50: '#e0d7b6',
500: '#d2c697',
950: '#000000',
},
}SCSS
$custom: #d2c697; $custom-light: #e0d7b6; $custom-dark: #000000;
JSON
{
"hex": "#d2c697",
"rgb": {
"r": 210,
"g": 198,
"b": 151
},
"hsl": {
"h": 47.797,
"s": 39.597,
"l": 70.784
},
"oklch": {
"l": 0.82481,
"c": 0.06369,
"h": 95.5
},
"luminance": 0.56324
}Semantic roles & 50–950 ramp
primary
#D2C697
secondary
#6573A8
accent
#4DB333
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381