#D1C57D#D1C57D
#D1C57D is a light, moderate yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.093 H 100.0°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D1C57D |
|---|---|
| RGB | rgb(209, 197, 125) |
| HSL | hsl(51, 48%, 65%) |
| HSV | hsv(51, 40%, 82%) |
| CMYK | cmyk(0%, 5.7%, 40.2%, 18%) |
| CIE-LAB | lab(79.02, -6.06, 37.60) |
| CIE-LCH | lch(79.02, 38.09, 99.15°) |
| OKLab | oklab(81.71% -0.0161 0.0919) |
| OKLCH | oklch(81.71% 0.093 100) |
| XYZ | xyz(49.9634, 54.9699, 27.3764) |
| Luminance | 0.5497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.27
Darkkhaki
#BDB76B
ΔE00 4.47
Greenish Beige
#C9D179
ΔE00 6.25
Sand
#C2B280
ΔE00 6.60
Beige (survey)
#E6DAA6
ΔE00 6.83
Sandy
#F1DA7A
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1C57D #7D89D1
analogous
#D19B7D #D1C57D #B3D17D
triadic
#D1C57D #7DD1C5 #C57DD1
tetradic
#D1C57D #7DD19B #7D89D1 #D17DB3
square
#D1C57D #7DD19B #7D89D1 #D17DB3
split-complementary
#D1C57D #7DB3D1 #9B7DD1
monochromatic
#9C8E37 #C1B150 #D1C57D #E1D9AA #F1EDD7
Accessibility & contrast
On white
1.75
#D1C57D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.99
#D1C57D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1C57D
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1C57D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1C57D | 1.00 | 1.75 | 11.99 | 11.99 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C178
Deuteranopia (green-blind)
#D5C680
Tritanopia (blue-blind)
#DDBCB3
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d1c57d; /* rgb */ color: rgb(209, 197, 125); /* oklch */ color: oklch(81.7% 0.093 100.0);
Tailwind
colors: {
custom: {
50: '#e0d6a3',
500: '#d1c57d',
950: '#000000',
},
}SCSS
$custom: #d1c57d; $custom-light: #e0d6a3; $custom-dark: #000000;
JSON
{
"hex": "#d1c57d",
"rgb": {
"r": 209,
"g": 197,
"b": 125
},
"hsl": {
"h": 51.429,
"s": 47.727,
"l": 65.49
},
"oklch": {
"l": 0.81708,
"c": 0.09329,
"h": 100
},
"luminance": 0.54968
}Semantic roles & 50–950 ramp
primary
#D1C57D
secondary
#515CA2
accent
#3FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380