#D5AF3D#D5AF3D
#D5AF3D is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.8% C 0.135 H 90.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D5AF3D |
|---|---|
| RGB | rgb(213, 175, 61) |
| HSL | hsl(45, 64%, 54%) |
| HSV | hsv(45, 71%, 84%) |
| CMYK | cmyk(0%, 17.8%, 71.4%, 16.5%) |
| CIE-LAB | lab(72.99, 2.09, 60.76) |
| CIE-LCH | lch(72.99, 60.80, 88.03°) |
| OKLab | oklab(76.8% 0.0001 0.1352) |
| OKLCH | oklch(76.8% 0.135 90) |
| XYZ | xyz(43.6153, 45.1457, 10.8307) |
| Luminance | 0.4514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.48
Burnt Yellow
#D5AB09
ΔE00 3.31
Gold (survey)
#DBB40C
ΔE00 3.98
Goldenrod
#DAA520
ΔE00 4.55
Dark Yellow
#D5B60A
ΔE00 4.91
Desert
#CCAD60
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5AF3D #3D63D5
analogous
#D5633D #D5AF3D #AFD53D
triadic
#D5AF3D #3DD5AF #AF3DD5
tetradic
#D5AF3D #3DD563 #3D63D5 #D53DAF
square
#D5AF3D #3DD563 #3D63D5 #D53DAF
split-complementary
#D5AF3D #3DAFD5 #633DD5
monochromatic
#7D641B #AF8D26 #D5AF3D #E0C46F #EBD8A2
Accessibility & contrast
On white
2.09
#D5AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#D5AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5AF3D
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5AF3D | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD2D
Deuteranopia (green-blind)
#CCB843
Tritanopia (blue-blind)
#E6A098
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d5af3d; /* rgb */ color: rgb(213, 175, 61); /* oklch */ color: oklch(76.8% 0.135 90.0);
Tailwind
colors: {
custom: {
50: '#e6c679',
500: '#d5af3d',
950: '#000000',
},
}SCSS
$custom: #d5af3d; $custom-light: #e6c679; $custom-dark: #000000;
JSON
{
"hex": "#d5af3d",
"rgb": {
"r": 213,
"g": 175,
"b": 61
},
"hsl": {
"h": 45,
"s": 64.407,
"l": 53.725
},
"oklch": {
"l": 0.76797,
"c": 0.13519,
"h": 90
},
"luminance": 0.45143
}Semantic roles & 50–950 ramp
primary
#D5AF3D
secondary
#96A7D7
accent
#6AE740
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B