#D2C867#D2C867
#D2C867 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.120 H 103.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C867 |
|---|---|
| RGB | rgb(210, 200, 103) |
| HSL | hsl(54, 54%, 61%) |
| HSV | hsv(54, 51%, 82%) |
| CMYK | cmyk(0%, 4.8%, 51%, 17.6%) |
| CIE-LAB | lab(79.61, -9.34, 49.25) |
| CIE-LCH | lch(79.61, 50.13, 100.73°) |
| OKLab | oklab(82.1% -0.0277 0.1164) |
| OKLCH | oklch(82.1% 0.12 103.4) |
| XYZ | xyz(49.6822, 55.9911, 21.0196) |
| Luminance | 0.5599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.75
Greenish Beige
#C9D179
ΔE00 5.43
Darkkhaki
#BDB76B
ΔE00 5.62
Sandy
#F1DA7A
ΔE00 6.04
Dull Yellow
#EEDC5B
ΔE00 6.61
Khaki (CSS)
#F0E68C
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C867 #6771D2
analogous
#D29367 #D2C867 #A7D267
triadic
#D2C867 #67D2C8 #C867D2
tetradic
#D2C867 #67D293 #6771D2 #D267A7
square
#D2C867 #67D293 #6771D2 #D267A7
split-complementary
#D2C867 #67A7D2 #9367D2
monochromatic
#93892C #C2B63A #D2C867 #E0D996 #EEEAC5
Accessibility & contrast
On white
1.72
#D2C867 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.20
#D2C867 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C867
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C867 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C867 | 1.00 | 1.72 | 12.20 | 12.20 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C25E
Deuteranopia (green-blind)
#DAC86C
Tritanopia (blue-blind)
#DFBDB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #d2c867; /* rgb */ color: rgb(210, 200, 103); /* oklch */ color: oklch(82.1% 0.120 103.4);
Tailwind
colors: {
custom: {
50: '#e2d895',
500: '#d2c867',
950: '#000000',
},
}SCSS
$custom: #d2c867; $custom-light: #e2d895; $custom-dark: #000000;
JSON
{
"hex": "#d2c867",
"rgb": {
"r": 210,
"g": 200,
"b": 103
},
"hsl": {
"h": 54.393,
"s": 54.315,
"l": 61.373
},
"oklch": {
"l": 0.82098,
"c": 0.11961,
"h": 103.4
},
"luminance": 0.55989
}Semantic roles & 50–950 ramp
primary
#D2C867
secondary
#454C99
accent
#32C224
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F