#D7AB51#D7AB51
#D7AB51 is a light, moderate orange. Relative luminance 0.442; OKLCH L 76.4% C 0.119 H 83.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D7AB51 |
|---|---|
| RGB | rgb(215, 171, 81) |
| HSL | hsl(40, 63%, 58%) |
| HSV | hsv(40, 62%, 84%) |
| CMYK | cmyk(0%, 20.5%, 62.3%, 15.7%) |
| CIE-LAB | lab(72.34, 6.22, 51.40) |
| CIE-LCH | lch(72.34, 51.77, 83.09°) |
| OKLab | oklab(76.39% 0.0144 0.1185) |
| OKLCH | oklch(76.39% 0.119 83.1) |
| XYZ | xyz(44.0748, 44.1698, 13.9872) |
| Luminance | 0.4417 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Desert
#CCAD60
ΔE00 3.84
Sand Brown
#CBA560
ΔE00 3.99
Camel (survey)
#C69F59
ΔE00 4.84
Goldenrod
#DAA520
ΔE00 4.84
Tan (survey)
#D1B26F
ΔE00 4.93
Sandy Brown
#C4A661
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7AB51 #517DD7
analogous
#D76851 #D7AB51 #C0D751
triadic
#D7AB51 #51D7AB #AB51D7
tetradic
#D7AB51 #51D768 #517DD7 #D751C0
square
#D7AB51 #51D768 #517DD7 #D751C0
split-complementary
#D7AB51 #51C0D7 #6851D7
monochromatic
#8D6920 #BF8F2C #D7AB51 #E2C383 #EEDBB5
Accessibility & contrast
On white
2.14
#D7AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#D7AB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7AB51
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7AB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7AB51 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#E89D97
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #d7ab51; /* rgb */ color: rgb(215, 171, 81); /* oklch */ color: oklch(76.4% 0.119 83.1);
Tailwind
colors: {
custom: {
50: '#e7c385',
500: '#d7ab51',
950: '#000000',
},
}SCSS
$custom: #d7ab51; $custom-light: #e7c385; $custom-dark: #000000;
JSON
{
"hex": "#d7ab51",
"rgb": {
"r": 215,
"g": 171,
"b": 81
},
"hsl": {
"h": 40.299,
"s": 62.617,
"l": 58.039
},
"oklch": {
"l": 0.76389,
"c": 0.11932,
"h": 83.1
},
"luminance": 0.44167
}Semantic roles & 50–950 ramp
primary
#D7AB51
secondary
#A7B9DD
accent
#78E642
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#16120B
muted
#84817C