#D8AB51#D8AB51
#D8AB51 is a light, moderate orange. Relative luminance 0.443; OKLCH L 76.5% C 0.120 H 82.5°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D8AB51 |
|---|---|
| RGB | rgb(216, 171, 81) |
| HSL | hsl(40, 63%, 58%) |
| HSV | hsv(40, 63%, 85%) |
| CMYK | cmyk(0%, 20.8%, 62.5%, 15.3%) |
| CIE-LAB | lab(72.44, 6.65, 51.54) |
| CIE-LCH | lch(72.44, 51.97, 82.65°) |
| OKLab | oklab(76.49% 0.0156 0.1187) |
| OKLCH | oklch(76.49% 0.12 82.5) |
| XYZ | xyz(44.3694, 44.3217, 14.0010) |
| Luminance | 0.4432 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sand Brown
#CBA560
ΔE00 4.06
Desert
#CCAD60
ΔE00 4.08
Goldenrod
#DAA520
ΔE00 4.81
Camel (survey)
#C69F59
ΔE00 4.90
Tan (survey)
#D1B26F
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8AB51 #517ED8
analogous
#D86751 #D8AB51 #C1D851
triadic
#D8AB51 #51D8AB #AB51D8
tetradic
#D8AB51 #51D867 #517ED8 #D851C1
square
#D8AB51 #51D867 #517ED8 #D851C1
split-complementary
#D8AB51 #51C1D8 #6751D8
monochromatic
#8F6A20 #C18F2B #D8AB51 #E3C383 #EEDBB5
Accessibility & contrast
On white
2.13
#D8AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#D8AB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8AB51
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8AB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8AB51 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#E99D97
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d8ab51; /* rgb */ color: rgb(216, 171, 81); /* oklch */ color: oklch(76.5% 0.120 82.5);
Tailwind
colors: {
custom: {
50: '#e8c385',
500: '#d8ab51',
950: '#000000',
},
}SCSS
$custom: #d8ab51; $custom-light: #e8c385; $custom-dark: #000000;
JSON
{
"hex": "#d8ab51",
"rgb": {
"r": 216,
"g": 171,
"b": 81
},
"hsl": {
"h": 40,
"s": 63.38,
"l": 58.235
},
"oklch": {
"l": 0.76492,
"c": 0.11974,
"h": 82.5
},
"luminance": 0.44319
}Semantic roles & 50–950 ramp
primary
#D8AB51
secondary
#A8B9DD
accent
#78E641
background
#FEFBF8
surface
#FDF7EF
border
#D5D0CA
text
#16120B
muted
#84817C