#D8AB3F#D8AB3F
#D8AB3F is a light, vivid orange. Relative luminance 0.441; OKLCH L 76.3% C 0.133 H 85.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D8AB3F |
|---|---|
| RGB | rgb(216, 171, 63) |
| HSL | hsl(42, 66%, 55%) |
| HSV | hsv(42, 71%, 85%) |
| CMYK | cmyk(0%, 20.8%, 70.8%, 15.3%) |
| CIE-LAB | lab(72.29, 5.60, 59.34) |
| CIE-LCH | lch(72.29, 59.60, 84.60°) |
| OKLab | oklab(76.32% 0.0103 0.1324) |
| OKLCH | oklch(76.32% 0.133 85.6) |
| XYZ | xyz(43.7816, 44.0866, 10.9052) |
| Luminance | 0.4408 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.97
Burnt Yellow
#D5AB09
ΔE00 4.24
Mustard
#DBB42C
ΔE00 4.24
Macaroni And Cheese
#EFB435
ΔE00 4.71
Yellow Ochre
#CB9D06
ΔE00 4.87
Desert
#CCAD60
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8AB3F #3F6CD8
analogous
#D85F3F #D8AB3F #B9D83F
triadic
#D8AB3F #3FD8AB #AB3FD8
tetradic
#D8AB3F #3FD85F #3F6CD8 #D83FB9
square
#D8AB3F #3FD85F #3F6CD8 #D83FB9
split-complementary
#D8AB3F #3FB9D8 #5F3FD8
monochromatic
#82641A #B58B25 #D8AB3F #E2C172 #EDD8A5
Accessibility & contrast
On white
2.14
#D8AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#D8AB3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D8AB3F
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8AB3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8AB3F | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#EA9C95
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #d8ab3f; /* rgb */ color: rgb(216, 171, 63); /* oklch */ color: oklch(76.3% 0.133 85.6);
Tailwind
colors: {
custom: {
50: '#e8c37a',
500: '#d8ab3f',
950: '#000000',
},
}SCSS
$custom: #d8ab3f; $custom-light: #e8c37a; $custom-dark: #000000;
JSON
{
"hex": "#d8ab3f",
"rgb": {
"r": 216,
"g": 171,
"b": 63
},
"hsl": {
"h": 42.353,
"s": 66.234,
"l": 54.706
},
"oklch": {
"l": 0.76319,
"c": 0.13283,
"h": 85.6
},
"luminance": 0.44084
}Semantic roles & 50–950 ramp
primary
#D8AB3F
secondary
#99ACDA
accent
#71E93F
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#17120A
muted
#85817C