#D7AF38#D7AF38
#D7AF38 is a light, vivid orange. Relative luminance 0.454; OKLCH L 77.0% C 0.139 H 89.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D7AF38 |
|---|---|
| RGB | rgb(215, 175, 56) |
| HSL | hsl(45, 67%, 53%) |
| HSV | hsv(45, 74%, 84%) |
| CMYK | cmyk(0%, 18.6%, 74%, 15.7%) |
| CIE-LAB | lab(73.15, 2.72, 62.93) |
| CIE-LCH | lch(73.15, 62.99, 87.52°) |
| OKLab | oklab(76.96% 0.0012 0.1388) |
| OKLCH | oklch(76.96% 0.139 89.5) |
| XYZ | xyz(44.0707, 45.3953, 10.1816) |
| Luminance | 0.4539 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.10
Burnt Yellow
#D5AB09
ΔE00 2.82
Gold (survey)
#DBB40C
ΔE00 3.56
Goldenrod
#DAA520
ΔE00 4.09
Dark Yellow
#D5B60A
ΔE00 4.76
Yellow Ochre
#CB9D06
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7AF38 #3860D7
analogous
#D76038 #D7AF38 #AFD738
triadic
#D7AF38 #38D7AF #AF38D7
tetradic
#D7AF38 #38D760 #3860D7 #D738AF
square
#D7AF38 #38D760 #3860D7 #D738AF
split-complementary
#D7AF38 #38AFD7 #6038D7
monochromatic
#7C6319 #AF8C23 #D7AF38 #E1C36B #EBD89E
Accessibility & contrast
On white
2.08
#D7AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#D7AF38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7AF38
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7AF38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7AF38 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD25
Deuteranopia (green-blind)
#CDB83E
Tritanopia (blue-blind)
#E9A097
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #d7af38; /* rgb */ color: rgb(215, 175, 56); /* oklch */ color: oklch(77.0% 0.139 89.5);
Tailwind
colors: {
custom: {
50: '#e8c677',
500: '#d7af38',
950: '#000000',
},
}SCSS
$custom: #d7af38; $custom-light: #e8c677; $custom-dark: #000000;
JSON
{
"hex": "#d7af38",
"rgb": {
"r": 215,
"g": 175,
"b": 56
},
"hsl": {
"h": 44.906,
"s": 66.527,
"l": 53.137
},
"oklch": {
"l": 0.76961,
"c": 0.13877,
"h": 89.5
},
"luminance": 0.45393
}Semantic roles & 50–950 ramp
primary
#D7AF38
secondary
#93A4D8
accent
#69E93E
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B