#D0AB3A#D0AB3A
#D0AB3A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.5% C 0.134 H 90.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D0AB3A |
|---|---|
| RGB | rgb(208, 171, 58) |
| HSL | hsl(45, 61%, 52%) |
| HSV | hsv(45, 72%, 82%) |
| CMYK | cmyk(0%, 17.8%, 72.1%, 18.4%) |
| CIE-LAB | lab(71.45, 1.90, 60.26) |
| CIE-LCH | lch(71.45, 60.29, 88.19°) |
| OKLab | oklab(75.46% -0.0005 0.1338) |
| OKLCH | oklch(75.46% 0.134 90.2) |
| XYZ | xyz(41.3414, 42.8438, 10.0943) |
| Luminance | 0.4284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.31
Burnt Yellow
#D5AB09
ΔE00 3.33
Goldenrod
#DAA520
ΔE00 4.43
Gold (survey)
#DBB40C
ΔE00 4.56
Yellow Ochre
#CB9D06
ΔE00 4.70
Ocre
#C69C04
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0AB3A #3A5FD0
analogous
#D0603A #D0AB3A #AAD03A
triadic
#D0AB3A #3AD0AB #AB3AD0
tetradic
#D0AB3A #3AD060 #3A5FD0 #D03AAA
square
#D0AB3A #3AD060 #3A5FD0 #D03AAA
split-complementary
#D0AB3A #3AAAD0 #603AD0
monochromatic
#745E1C #A58627 #D0AB3A #DCC06B #E8D59D
Accessibility & contrast
On white
2.19
#D0AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#D0AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0AB3A
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0AB3A | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#E19D94
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #d0ab3a; /* rgb */ color: rgb(208, 171, 58); /* oklch */ color: oklch(75.5% 0.134 90.2);
Tailwind
colors: {
custom: {
50: '#e3c377',
500: '#d0ab3a',
950: '#000000',
},
}SCSS
$custom: #d0ab3a; $custom-light: #e3c377; $custom-dark: #000000;
JSON
{
"hex": "#d0ab3a",
"rgb": {
"r": 208,
"g": 171,
"b": 58
},
"hsl": {
"h": 45.2,
"s": 61.475,
"l": 52.157
},
"oklch": {
"l": 0.75464,
"c": 0.13375,
"h": 90.2
},
"luminance": 0.42841
}Semantic roles & 50–950 ramp
primary
#D0AB3A
secondary
#92A2D4
accent
#6BE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B