#D2AB38#D2AB38
#D2AB38 is a light, vivid orange. Relative luminance 0.431; OKLCH L 75.7% C 0.135 H 89.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AB38 |
|---|---|
| RGB | rgb(210, 171, 56) |
| HSL | hsl(45, 63%, 52%) |
| HSV | hsv(45, 73%, 82%) |
| CMYK | cmyk(0%, 18.6%, 73.3%, 17.6%) |
| CIE-LAB | lab(71.63, 2.68, 61.29) |
| CIE-LCH | lch(71.63, 61.34, 87.50°) |
| OKLab | oklab(75.65% 0.0014 0.1355) |
| OKLCH | oklch(75.65% 0.135 89.4) |
| XYZ | xyz(41.8575, 43.1156, 9.8581) |
| Luminance | 0.4311 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.05
Mustard
#DBB42C
ΔE00 3.14
Goldenrod
#DAA520
ΔE00 3.91
Gold (survey)
#DBB40C
ΔE00 4.40
Yellow Ochre
#CB9D06
ΔE00 4.46
Ocre
#C69C04
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AB38 #385FD2
analogous
#D25E38 #D2AB38 #ACD238
triadic
#D2AB38 #38D2AB #AB38D2
tetradic
#D2AB38 #38D25E #385FD2 #D238AC
square
#D2AB38 #38D25E #385FD2 #D238AC
split-complementary
#D2AB38 #38ACD2 #5E38D2
monochromatic
#755E1A #A78626 #D2AB38 #DDC06A #E9D59C
Accessibility & contrast
On white
2.18
#D2AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#D2AB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AB38
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AB38 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA926
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#E39C94
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d2ab38; /* rgb */ color: rgb(210, 171, 56); /* oklch */ color: oklch(75.7% 0.135 89.4);
Tailwind
colors: {
custom: {
50: '#e4c376',
500: '#d2ab38',
950: '#000000',
},
}SCSS
$custom: #d2ab38; $custom-light: #e4c376; $custom-dark: #000000;
JSON
{
"hex": "#d2ab38",
"rgb": {
"r": 210,
"g": 171,
"b": 56
},
"hsl": {
"h": 44.805,
"s": 63.115,
"l": 52.157
},
"oklch": {
"l": 0.75651,
"c": 0.13548,
"h": 89.4
},
"luminance": 0.43113
}Semantic roles & 50–950 ramp
primary
#D2AB38
secondary
#91A2D5
accent
#6BE642
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B