#D2C068#D2C068
#D2C068 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.111 H 98.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C068 |
|---|---|
| RGB | rgb(210, 192, 104) |
| HSL | hsl(50, 54%, 62%) |
| HSV | hsv(50, 50%, 82%) |
| CMYK | cmyk(0%, 8.6%, 50.5%, 17.6%) |
| CIE-LAB | lab(77.52, -5.13, 46.27) |
| CIE-LCH | lch(77.52, 46.56, 96.33°) |
| OKLab | oklab(80.45% -0.0155 0.1099) |
| OKLCH | oklch(80.45% 0.111 98) |
| XYZ | xyz(47.9282, 52.4022, 20.6840) |
| Luminance | 0.5240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.42
Darkkhaki
#BDB76B
ΔE00 4.91
Desert
#CCAD60
ΔE00 6.31
Tan (survey)
#D1B26F
ΔE00 6.55
Sandy
#F1DA7A
ΔE00 6.62
Sandstone
#C9AE74
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C068 #687AD2
analogous
#D28B68 #D2C068 #AFD268
triadic
#D2C068 #68D2C0 #C068D2
tetradic
#D2C068 #68D28B #687AD2 #D268AF
square
#D2C068 #68D28B #687AD2 #D268AF
split-complementary
#D2C068 #68AFD2 #8B68D2
monochromatic
#94822C #C3AC3A #D2C068 #E0D497 #EEE7C6
Accessibility & contrast
On white
1.83
#D2C068 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#D2C068 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C068
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C068 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C068 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBC60
Deuteranopia (green-blind)
#D4C26C
Tritanopia (blue-blind)
#E0B5AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d2c068; /* rgb */ color: rgb(210, 192, 104); /* oklch */ color: oklch(80.4% 0.111 98.0);
Tailwind
colors: {
custom: {
50: '#e2d295',
500: '#d2c068',
950: '#000000',
},
}SCSS
$custom: #d2c068; $custom-light: #e2d295; $custom-dark: #000000;
JSON
{
"hex": "#d2c068",
"rgb": {
"r": 210,
"g": 192,
"b": 104
},
"hsl": {
"h": 49.811,
"s": 54.082,
"l": 61.569
},
"oklch": {
"l": 0.80447,
"c": 0.11101,
"h": 98
},
"luminance": 0.524
}Semantic roles & 50–950 ramp
primary
#D2C068
secondary
#455399
accent
#3FC224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F