#D0AF3C#D0AF3C
#D0AF3C is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.135 H 92.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D0AF3C |
|---|---|
| RGB | rgb(208, 175, 60) |
| HSL | hsl(47, 61%, 53%) |
| HSV | hsv(47, 71%, 82%) |
| CMYK | cmyk(0%, 15.9%, 71.2%, 18.4%) |
| CIE-LAB | lab(72.49, -0.12, 60.50) |
| CIE-LCH | lch(72.49, 60.50, 90.11°) |
| OKLab | oklab(76.29% -0.0061 0.1347) |
| OKLCH | oklch(76.29% 0.135 92.6) |
| XYZ | xyz(42.1603, 44.3985, 10.6232) |
| Luminance | 0.4440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.83
Burnt Yellow
#D5AB09
ΔE00 3.68
Gold (survey)
#DBB40C
ΔE00 4.07
Dark Yellow
#D5B60A
ΔE00 4.31
Brownish Yellow
#C9B003
ΔE00 4.40
Mustard (survey)
#CEB301
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0AF3C #3C5DD0
analogous
#D0653C #D0AF3C #A7D03C
triadic
#D0AF3C #3CD0AF #AF3CD0
tetradic
#D0AF3C #3CD065 #3C5DD0 #D03CA7
square
#D0AF3C #3CD065 #3C5DD0 #D03CA7
split-complementary
#D0AF3C #3CA7D0 #653CD0
monochromatic
#75611C #A78A28 #D0AF3C #DCC36D #E8D79F
Accessibility & contrast
On white
2.13
#D0AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#D0AF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0AF3C
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0AF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0AF3C | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d0af3c; /* rgb */ color: rgb(208, 175, 60); /* oklch */ color: oklch(76.3% 0.135 92.6);
Tailwind
colors: {
custom: {
50: '#e2c679',
500: '#d0af3c',
950: '#000000',
},
}SCSS
$custom: #d0af3c; $custom-light: #e2c679; $custom-dark: #000000;
JSON
{
"hex": "#d0af3c",
"rgb": {
"r": 208,
"g": 175,
"b": 60
},
"hsl": {
"h": 46.622,
"s": 61.157,
"l": 52.549
},
"oklch": {
"l": 0.76293,
"c": 0.13479,
"h": 92.6
},
"luminance": 0.44396
}Semantic roles & 50–950 ramp
primary
#D0AF3C
secondary
#94A2D4
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B