#D3AF3F#D3AF3F
#D3AF3F is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.133 H 90.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AF3F |
|---|---|
| RGB | rgb(211, 175, 63) |
| HSL | hsl(45, 63%, 54%) |
| HSV | hsv(45, 70%, 83%) |
| CMYK | cmyk(0%, 17.1%, 70.1%, 17.3%) |
| CIE-LAB | lab(72.81, 1.33, 59.71) |
| CIE-LCH | lch(72.81, 59.72, 88.73°) |
| OKLab | oklab(76.61% -0.0017 0.1334) |
| OKLCH | oklch(76.61% 0.133 90.8) |
| XYZ | xyz(43.0935, 44.8703, 11.0927) |
| Luminance | 0.4487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.73
Burnt Yellow
#D5AB09
ΔE00 3.61
Gold (survey)
#DBB40C
ΔE00 4.19
Dark Yellow
#D5B60A
ΔE00 4.86
Desert
#CCAD60
ΔE00 4.99
Goldenrod
#DAA520
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AF3F #3F63D3
analogous
#D3653F #D3AF3F #ADD33F
triadic
#D3AF3F #3FD3AF #AF3FD3
tetradic
#D3AF3F #3FD365 #3F63D3 #D33FAD
square
#D3AF3F #3FD365 #3F63D3 #D33FAD
split-complementary
#D3AF3F #3FADD3 #653FD3
monochromatic
#7B641C #AD8D28 #D3AF3F #DEC471 #EAD8A3
Accessibility & contrast
On white
2.11
#D3AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#D3AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AF3F
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AF3F | 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)
#C2AD30
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#E4A198
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d3af3f; /* rgb */ color: rgb(211, 175, 63); /* oklch */ color: oklch(76.6% 0.133 90.8);
Tailwind
colors: {
custom: {
50: '#e4c67a',
500: '#d3af3f',
950: '#000000',
},
}SCSS
$custom: #d3af3f; $custom-light: #e4c67a; $custom-dark: #000000;
JSON
{
"hex": "#d3af3f",
"rgb": {
"r": 211,
"g": 175,
"b": 63
},
"hsl": {
"h": 45.405,
"s": 62.712,
"l": 53.725
},
"oklch": {
"l": 0.76614,
"c": 0.1334,
"h": 90.8
},
"luminance": 0.44868
}Semantic roles & 50–950 ramp
primary
#D3AF3F
secondary
#97A7D7
accent
#6AE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C