#D2C481#D2C481
#D2C481 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.088 H 97.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C481 |
|---|---|
| RGB | rgb(210, 196, 129) |
| HSL | hsl(50, 47%, 66%) |
| HSV | hsv(50, 39%, 82%) |
| CMYK | cmyk(0%, 6.7%, 38.6%, 17.6%) |
| CIE-LAB | lab(78.91, -4.70, 35.42) |
| CIE-LCH | lch(78.91, 35.73, 97.56°) |
| OKLab | oklab(81.66% -0.012 0.087) |
| OKLCH | oklch(81.66% 0.088 97.8) |
| XYZ | xyz(50.2817, 54.7680, 28.6872) |
| Luminance | 0.5477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.36
Darkkhaki
#BDB76B
ΔE00 4.94
Sand
#C2B280
ΔE00 5.77
Beige (survey)
#E6DAA6
ΔE00 6.36
Tan (survey)
#D1B26F
ΔE00 6.60
Sandstone
#C9AE74
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C481 #818FD2
analogous
#D29C81 #D2C481 #B8D281
triadic
#D2C481 #81D2C4 #C481D2
tetradic
#D2C481 #81D29C #818FD2 #D281B8
square
#D2C481 #81D29C #818FD2 #D281B8
split-complementary
#D2C481 #81B8D2 #9C81D2
monochromatic
#A08E39 #C2AF54 #D2C481 #E2D9AE #F2EEDB
Accessibility & contrast
On white
1.76
#D2C481 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.95
#D2C481 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C481
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C481 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C481 | 1.00 | 1.76 | 11.95 | 11.95 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1C07C
Deuteranopia (green-blind)
#D4C683
Tritanopia (blue-blind)
#DEBBB3
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d2c481; /* rgb */ color: rgb(210, 196, 129); /* oklch */ color: oklch(81.7% 0.088 97.8);
Tailwind
colors: {
custom: {
50: '#e1d5a6',
500: '#d2c481',
950: '#000000',
},
}SCSS
$custom: #d2c481; $custom-light: #e1d5a6; $custom-dark: #000000;
JSON
{
"hex": "#d2c481",
"rgb": {
"r": 210,
"g": 196,
"b": 129
},
"hsl": {
"h": 49.63,
"s": 47.368,
"l": 66.471
},
"oklch": {
"l": 0.81655,
"c": 0.08786,
"h": 97.8
},
"luminance": 0.54766
}Semantic roles & 50–950 ramp
primary
#D2C481
secondary
#5361A5
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380