#D4AF3B#D4AF3B
#D4AF3B is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.7% C 0.136 H 90.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AF3B |
|---|---|
| RGB | rgb(212, 175, 59) |
| HSL | hsl(45, 64%, 53%) |
| HSV | hsv(45, 72%, 83%) |
| CMYK | cmyk(0%, 17.5%, 72.2%, 16.9%) |
| CIE-LAB | lab(72.88, 1.56, 61.41) |
| CIE-LCH | lch(72.88, 61.43, 88.54°) |
| OKLab | oklab(76.68% -0.0016 0.1362) |
| OKLCH | oklch(76.68% 0.136 90.7) |
| XYZ | xyz(43.2732, 44.9754, 10.5387) |
| Luminance | 0.4497 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.33
Burnt Yellow
#D5AB09
ΔE00 3.17
Gold (survey)
#DBB40C
ΔE00 3.77
Dark Yellow
#D5B60A
ΔE00 4.58
Goldenrod
#DAA520
ΔE00 4.76
Mustard (survey)
#CEB301
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AF3B #3B60D4
analogous
#D4623B #D4AF3B #ADD43B
triadic
#D4AF3B #3BD4AF #AF3BD4
tetradic
#D4AF3B #3BD462 #3B60D4 #D43BAD
square
#D4AF3B #3BD462 #3B60D4 #D43BAD
split-complementary
#D4AF3B #3BADD4 #623BD4
monochromatic
#7A631B #AC8C26 #D4AF3B #DFC36D #EAD89F
Accessibility & contrast
On white
2.10
#D4AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#D4AF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AF3B
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AF3B | 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)
#C2AD2A
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#E5A098
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d4af3b; /* rgb */ color: rgb(212, 175, 59); /* oklch */ color: oklch(76.7% 0.136 90.7);
Tailwind
colors: {
custom: {
50: '#e5c678',
500: '#d4af3b',
950: '#000000',
},
}SCSS
$custom: #d4af3b; $custom-light: #e5c678; $custom-dark: #000000;
JSON
{
"hex": "#d4af3b",
"rgb": {
"r": 212,
"g": 175,
"b": 59
},
"hsl": {
"h": 45.49,
"s": 64.017,
"l": 53.137
},
"oklch": {
"l": 0.76682,
"c": 0.13623,
"h": 90.7
},
"luminance": 0.44973
}Semantic roles & 50–950 ramp
primary
#D4AF3B
secondary
#94A4D6
accent
#69E741
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B