#D3AF3D#D3AF3D
#D3AF3D is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.135 H 91.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AF3D |
|---|---|
| RGB | rgb(211, 175, 61) |
| HSL | hsl(46, 63%, 53%) |
| HSV | hsv(46, 71%, 83%) |
| CMYK | cmyk(0%, 17.1%, 71.1%, 17.3%) |
| CIE-LAB | lab(72.79, 1.23, 60.50) |
| CIE-LCH | lch(72.79, 60.51, 88.84°) |
| OKLab | oklab(76.6% -0.0023 0.1347) |
| OKLCH | oklch(76.6% 0.135 91) |
| XYZ | xyz(43.0386, 44.8483, 10.8037) |
| Luminance | 0.4485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.55
Burnt Yellow
#D5AB09
ΔE00 3.42
Gold (survey)
#DBB40C
ΔE00 3.99
Dark Yellow
#D5B60A
ΔE00 4.66
Mustard (survey)
#CEB301
ΔE00 4.97
Goldenrod
#DAA520
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AF3D #3D61D3
analogous
#D3643D #D3AF3D #ACD33D
triadic
#D3AF3D #3DD3AF #AF3DD3
tetradic
#D3AF3D #3DD364 #3D61D3 #D33DAC
square
#D3AF3D #3DD364 #3D61D3 #D33DAC
split-complementary
#D3AF3D #3DACD3 #643DD3
monochromatic
#7A631C #AC8C27 #D3AF3D #DEC46F #EAD8A1
Accessibility & contrast
On white
2.11
#D3AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#D3AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AF3D
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AF3D | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2D
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d3af3d; /* rgb */ color: rgb(211, 175, 61); /* oklch */ color: oklch(76.6% 0.135 91.0);
Tailwind
colors: {
custom: {
50: '#e5c679',
500: '#d3af3d',
950: '#000000',
},
}SCSS
$custom: #d3af3d; $custom-light: #e5c679; $custom-dark: #000000;
JSON
{
"hex": "#d3af3d",
"rgb": {
"r": 211,
"g": 175,
"b": 61
},
"hsl": {
"h": 45.6,
"s": 63.025,
"l": 53.333
},
"oklch": {
"l": 0.76598,
"c": 0.13473,
"h": 91
},
"luminance": 0.44846
}Semantic roles & 50–950 ramp
primary
#D3AF3D
secondary
#96A5D6
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B