#D2C968#D2C968
#D2C968 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.120 H 103.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C968 |
|---|---|
| RGB | rgb(210, 201, 104) |
| HSL | hsl(55, 54%, 62%) |
| HSV | hsv(55, 50%, 82%) |
| CMYK | cmyk(0%, 4.3%, 50.5%, 17.6%) |
| CIE-LAB | lab(79.88, -9.76, 49.10) |
| CIE-LCH | lch(79.88, 50.06, 101.24°) |
| OKLab | oklab(82.32% -0.0288 0.1161) |
| OKLCH | oklch(82.32% 0.12 103.9) |
| XYZ | xyz(49.9651, 56.4760, 21.3630) |
| Luminance | 0.5647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.94
Greenish Beige
#C9D179
ΔE00 5.12
Darkkhaki
#BDB76B
ΔE00 5.72
Sandy
#F1DA7A
ΔE00 6.05
Dull Yellow
#EEDC5B
ΔE00 6.57
Khaki (CSS)
#F0E68C
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C968 #6871D2
analogous
#D29468 #D2C968 #A6D268
triadic
#D2C968 #68D2C9 #C968D2
tetradic
#D2C968 #68D294 #6871D2 #D268A6
square
#D2C968 #68D294 #6871D2 #D268A6
split-complementary
#D2C968 #68A6D2 #9468D2
monochromatic
#948B2C #C3B73A #D2C968 #E0DA97 #EEEBC6
Accessibility & contrast
On white
1.71
#D2C968 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.29
#D2C968 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C968
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C968 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C968 | 1.00 | 1.71 | 12.29 | 12.29 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C35F
Deuteranopia (green-blind)
#DBC86D
Tritanopia (blue-blind)
#DFBEB3
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d2c968; /* rgb */ color: rgb(210, 201, 104); /* oklch */ color: oklch(82.3% 0.120 103.9);
Tailwind
colors: {
custom: {
50: '#e2d995',
500: '#d2c968',
950: '#000000',
},
}SCSS
$custom: #d2c968; $custom-light: #e2d995; $custom-dark: #000000;
JSON
{
"hex": "#d2c968",
"rgb": {
"r": 210,
"g": 201,
"b": 104
},
"hsl": {
"h": 54.906,
"s": 54.082,
"l": 61.569
},
"oklch": {
"l": 0.82321,
"c": 0.11964,
"h": 103.9
},
"luminance": 0.56474
}Semantic roles & 50–950 ramp
primary
#D2C968
secondary
#454C99
accent
#31C224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F