#D3C271#D3C271
#D3C271 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.1% C 0.104 H 97.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C271 |
|---|---|
| RGB | rgb(211, 194, 113) |
| HSL | hsl(50, 53%, 64%) |
| HSV | hsv(50, 46%, 83%) |
| CMYK | cmyk(0%, 8.1%, 46.4%, 17.3%) |
| CIE-LAB | lab(78.24, -4.93, 42.72) |
| CIE-LCH | lch(78.24, 43.00, 96.58°) |
| OKLab | oklab(81.08% -0.014 0.1027) |
| OKLCH | oklch(81.08% 0.104 97.8) |
| XYZ | xyz(49.1377, 53.6265, 23.3822) |
| Luminance | 0.5363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.06
Darkkhaki
#BDB76B
ΔE00 4.75
Tan (survey)
#D1B26F
ΔE00 6.36
Sandy
#F1DA7A
ΔE00 6.45
Desert
#CCAD60
ΔE00 6.58
Sand
#C2B280
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C271 #7182D3
analogous
#D39171 #D3C271 #B3D371
triadic
#D3C271 #71D3C2 #C271D3
tetradic
#D3C271 #71D391 #7182D3 #D371B3
square
#D3C271 #71D391 #7182D3 #D371B3
split-complementary
#D3C271 #71B3D3 #9171D3
monochromatic
#9A8730 #C5AE42 #D3C271 #E1D6A0 #F0EACE
Accessibility & contrast
On white
1.79
#D3C271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#D3C271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C271
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C271 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BE6A
Deuteranopia (green-blind)
#D5C474
Tritanopia (blue-blind)
#E0B7AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d3c271; /* rgb */ color: rgb(211, 194, 113); /* oklch */ color: oklch(81.1% 0.104 97.8);
Tailwind
colors: {
custom: {
50: '#e2d49b',
500: '#d3c271',
950: '#000000',
},
}SCSS
$custom: #d3c271; $custom-light: #e2d49b; $custom-dark: #000000;
JSON
{
"hex": "#d3c271",
"rgb": {
"r": 211,
"g": 194,
"b": 113
},
"hsl": {
"h": 49.592,
"s": 52.688,
"l": 63.529
},
"oklch": {
"l": 0.81076,
"c": 0.10368,
"h": 97.8
},
"luminance": 0.53625
}Semantic roles & 50–950 ramp
primary
#D3C271
secondary
#49589F
accent
#40C025
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F