#D6C17F#D6C17F
#D6C17F is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.088 H 92.5°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D6C17F |
|---|---|
| RGB | rgb(214, 193, 127) |
| HSL | hsl(46, 51%, 67%) |
| HSV | hsv(46, 41%, 84%) |
| CMYK | cmyk(0%, 9.8%, 40.7%, 16.1%) |
| CIE-LAB | lab(78.44, -1.76, 35.92) |
| CIE-LCH | lch(78.44, 35.96, 92.81°) |
| OKLab | oklab(81.36% -0.0038 0.0881) |
| OKLCH | oklch(81.36% 0.088 92.5) |
| XYZ | xyz(50.6335, 53.9702, 27.8247) |
| Luminance | 0.5397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.87
Tan (survey)
#D1B26F
ΔE00 4.65
Very Light Brown
#D3B683
ΔE00 5.24
Sand
#C2B280
ΔE00 5.32
Sandstone
#C9AE74
ΔE00 5.42
Desert
#CCAD60
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6C17F #7F94D6
analogous
#D6967F #D6C17F #C0D67F
triadic
#D6C17F #7FD6C1 #C17FD6
tetradic
#D6C17F #7FD696 #7F94D6 #D67FC0
square
#D6C17F #7FD696 #7F94D6 #D67FC0
split-complementary
#D6C17F #7FC0D6 #967FD6
monochromatic
#A68A35 #C7AB51 #D6C17F #E5D7AD #F4EEDC
Accessibility & contrast
On white
1.78
#D6C17F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#D6C17F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6C17F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6C17F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6C17F | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#D4C581
Tritanopia (blue-blind)
#E3B7B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d6c17f; /* rgb */ color: rgb(214, 193, 127); /* oklch */ color: oklch(81.4% 0.088 92.5);
Tailwind
colors: {
custom: {
50: '#e4d3a5',
500: '#d6c17f',
950: '#000000',
},
}SCSS
$custom: #d6c17f; $custom-light: #e4d3a5; $custom-dark: #000000;
JSON
{
"hex": "#d6c17f",
"rgb": {
"r": 214,
"g": 193,
"b": 127
},
"hsl": {
"h": 45.517,
"s": 51.479,
"l": 66.863
},
"oklch": {
"l": 0.81362,
"c": 0.08815,
"h": 92.5
},
"luminance": 0.53968
}Semantic roles & 50–950 ramp
primary
#D6C17F
secondary
#5065AA
accent
#4BBF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16140F
muted
#848380