#D4AF39#D4AF39
#D4AF39 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.137 H 90.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AF39 |
|---|---|
| RGB | rgb(212, 175, 57) |
| HSL | hsl(46, 64%, 53%) |
| HSV | hsv(46, 73%, 83%) |
| CMYK | cmyk(0%, 17.5%, 73.1%, 16.9%) |
| CIE-LAB | lab(72.86, 1.47, 62.17) |
| CIE-LCH | lch(72.86, 62.19, 88.65°) |
| OKLab | oklab(76.67% -0.0021 0.1375) |
| OKLCH | oklch(76.67% 0.137 90.9) |
| XYZ | xyz(43.2223, 44.9550, 10.2707) |
| Luminance | 0.4495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.17
Burnt Yellow
#D5AB09
ΔE00 2.99
Gold (survey)
#DBB40C
ΔE00 3.58
Dark Yellow
#D5B60A
ΔE00 4.40
Goldenrod
#DAA520
ΔE00 4.76
Mustard (survey)
#CEB301
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AF39 #395ED4
analogous
#D46139 #D4AF39 #ACD439
triadic
#D4AF39 #39D4AF #AF39D4
tetradic
#D4AF39 #39D461 #395ED4 #D439AC
square
#D4AF39 #39D461 #395ED4 #D439AC
split-complementary
#D4AF39 #39ACD4 #6139D4
monochromatic
#78621A #AB8B25 #D4AF39 #DFC36B #EAD89E
Accessibility & contrast
On white
2.10
#D4AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#D4AF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AF39
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AF39 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD27
Deuteranopia (green-blind)
#CCB73F
Tritanopia (blue-blind)
#E5A098
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d4af39; /* rgb */ color: rgb(212, 175, 57); /* oklch */ color: oklch(76.7% 0.137 90.9);
Tailwind
colors: {
custom: {
50: '#e5c677',
500: '#d4af39',
950: '#000000',
},
}SCSS
$custom: #d4af39; $custom-light: #e5c677; $custom-dark: #000000;
JSON
{
"hex": "#d4af39",
"rgb": {
"r": 212,
"g": 175,
"b": 57
},
"hsl": {
"h": 45.677,
"s": 64.315,
"l": 52.745
},
"oklch": {
"l": 0.76667,
"c": 0.13748,
"h": 90.9
},
"luminance": 0.44952
}Semantic roles & 50–950 ramp
primary
#D4AF39
secondary
#93A3D6
accent
#68E740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B