#D3AF2E#D3AF2E
#D3AF2E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.143 H 92.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AF2E |
|---|---|
| RGB | rgb(211, 175, 46) |
| HSL | hsl(47, 65%, 50%) |
| HSV | hsv(47, 78%, 83%) |
| CMYK | cmyk(0%, 17.1%, 78.2%, 17.3%) |
| CIE-LAB | lab(72.70, 0.58, 65.92) |
| CIE-LCH | lch(72.70, 65.92, 89.49°) |
| OKLab | oklab(76.5% -0.0057 0.1433) |
| OKLCH | oklch(76.5% 0.143 92.3) |
| XYZ | xyz(42.6896, 44.7087, 8.9654) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.73
Burnt Yellow
#D5AB09
ΔE00 2.33
Gold (survey)
#DBB40C
ΔE00 2.73
Dark Yellow
#D5B60A
ΔE00 3.40
Mustard (survey)
#CEB301
ΔE00 3.74
Brownish Yellow
#C9B003
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AF2E #2E52D3
analogous
#D35C2E #D3AF2E #A4D32E
triadic
#D3AF2E #2ED3AF #AF2ED3
tetradic
#D3AF2E #2ED35C #2E52D3 #D32EA4
square
#D3AF2E #2ED35C #2E52D3 #D32EA4
split-complementary
#D3AF2E #2EA4D3 #5C2ED3
monochromatic
#6F5C17 #A28622 #D3AF2E #DEC261 #E8D693
Accessibility & contrast
On white
2.11
#D3AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D3AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AF2E
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AF2E | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC11
Deuteranopia (green-blind)
#CCB736
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d3af2e; /* rgb */ color: rgb(211, 175, 46); /* oklch */ color: oklch(76.5% 0.143 92.3);
Tailwind
colors: {
custom: {
50: '#e5c671',
500: '#d3af2e',
950: '#000000',
},
}SCSS
$custom: #d3af2e; $custom-light: #e5c671; $custom-dark: #000000;
JSON
{
"hex": "#d3af2e",
"rgb": {
"r": 211,
"g": 175,
"b": 46
},
"hsl": {
"h": 46.909,
"s": 65.217,
"l": 50.392
},
"oklch": {
"l": 0.76496,
"c": 0.14342,
"h": 92.3
},
"luminance": 0.44706
}Semantic roles & 50–950 ramp
primary
#D3AF2E
secondary
#8A9AD3
accent
#64E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B