#D1AF36#D1AF36
#D1AF36 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.139 H 92.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #D1AF36 |
|---|---|
| RGB | rgb(209, 175, 54) |
| HSL | hsl(47, 63%, 52%) |
| HSV | hsv(47, 74%, 82%) |
| CMYK | cmyk(0%, 16.3%, 74.2%, 18%) |
| CIE-LAB | lab(72.55, 0.04, 62.90) |
| CIE-LCH | lch(72.55, 62.90, 89.97°) |
| OKLab | oklab(76.35% -0.0063 0.1386) |
| OKLCH | oklch(76.35% 0.139 92.6) |
| XYZ | xyz(42.2927, 44.4841, 9.8480) |
| Luminance | 0.4448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.33
Burnt Yellow
#D5AB09
ΔE00 3.10
Gold (survey)
#DBB40C
ΔE00 3.47
Dark Yellow
#D5B60A
ΔE00 3.82
Mustard (survey)
#CEB301
ΔE00 3.99
Brownish Yellow
#C9B003
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1AF36 #3658D1
analogous
#D16236 #D1AF36 #A5D136
triadic
#D1AF36 #36D1AF #AF36D1
tetradic
#D1AF36 #36D162 #3658D1 #D136A5
square
#D1AF36 #36D162 #3658D1 #D136A5
split-complementary
#D1AF36 #36A5D1 #6236D1
monochromatic
#725F1A #A48826 #D1AF36 #DCC368 #E8D79A
Accessibility & contrast
On white
2.12
#D1AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#D1AF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1AF36
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1AF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1AF36 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#E2A197
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d1af36; /* rgb */ color: rgb(209, 175, 54); /* oklch */ color: oklch(76.3% 0.139 92.6);
Tailwind
colors: {
custom: {
50: '#e3c675',
500: '#d1af36',
950: '#000000',
},
}SCSS
$custom: #d1af36; $custom-light: #e3c675; $custom-dark: #000000;
JSON
{
"hex": "#d1af36",
"rgb": {
"r": 209,
"g": 175,
"b": 54
},
"hsl": {
"h": 46.839,
"s": 62.753,
"l": 51.569
},
"oklch": {
"l": 0.76348,
"c": 0.1387,
"h": 92.6
},
"luminance": 0.44482
}Semantic roles & 50–950 ramp
primary
#D1AF36
secondary
#8F9ED3
accent
#66E642
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B