#D2C76A#D2C76A
#D2C76A is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.116 H 102.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C76A |
|---|---|
| RGB | rgb(210, 199, 106) |
| HSL | hsl(54, 54%, 62%) |
| HSV | hsv(54, 50%, 82%) |
| CMYK | cmyk(0%, 5.2%, 49.5%, 17.6%) |
| CIE-LAB | lab(79.38, -8.56, 47.54) |
| CIE-LCH | lch(79.38, 48.30, 100.21°) |
| OKLab | oklab(81.93% -0.0252 0.1129) |
| OKLCH | oklch(81.93% 0.116 102.6) |
| XYZ | xyz(49.6047, 55.5907, 21.7500) |
| Luminance | 0.5559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.33
Darkkhaki
#BDB76B
ΔE00 5.23
Greenish Beige
#C9D179
ΔE00 5.56
Sandy
#F1DA7A
ΔE00 6.02
Dull Yellow
#EEDC5B
ΔE00 7.00
Khaki (CSS)
#F0E68C
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C76A #6A75D2
analogous
#D2936A #D2C76A #A9D26A
triadic
#D2C76A #6AD2C7 #C76AD2
tetradic
#D2C76A #6AD293 #6A75D2 #D26AA9
square
#D2C76A #6AD293 #6A75D2 #D26AA9
split-complementary
#D2C76A #6AA9D2 #936AD2
monochromatic
#958A2D #C4B53B #D2C76A #E0D999 #EEEAC8
Accessibility & contrast
On white
1.73
#D2C76A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.12
#D2C76A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C76A
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C76A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C76A | 1.00 | 1.73 | 12.12 | 12.12 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C262
Deuteranopia (green-blind)
#D9C76E
Tritanopia (blue-blind)
#DFBCB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c76a; /* rgb */ color: rgb(210, 199, 106); /* oklch */ color: oklch(81.9% 0.116 102.6);
Tailwind
colors: {
custom: {
50: '#e2d797',
500: '#d2c76a',
950: '#000000',
},
}SCSS
$custom: #d2c76a; $custom-light: #e2d797; $custom-dark: #000000;
JSON
{
"hex": "#d2c76a",
"rgb": {
"r": 210,
"g": 199,
"b": 106
},
"hsl": {
"h": 53.654,
"s": 53.608,
"l": 61.961
},
"oklch": {
"l": 0.81928,
"c": 0.11563,
"h": 102.6
},
"luminance": 0.55589
}Semantic roles & 50–950 ramp
primary
#D2C76A
secondary
#464F9A
accent
#35C124
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F