#D2AE3B#D2AE3B
#D2AE3B is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.135 H 91.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AE3B |
|---|---|
| RGB | rgb(210, 174, 59) |
| HSL | hsl(46, 63%, 53%) |
| HSV | hsv(46, 72%, 82%) |
| CMYK | cmyk(0%, 17.1%, 71.9%, 17.6%) |
| CIE-LAB | lab(72.42, 1.23, 60.89) |
| CIE-LCH | lch(72.42, 60.91, 88.85°) |
| OKLab | oklab(76.28% -0.0024 0.1352) |
| OKLCH | oklch(76.28% 0.135 91) |
| XYZ | xyz(42.5062, 44.2921, 10.4472) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.64
Burnt Yellow
#D5AB09
ΔE00 3.27
Gold (survey)
#DBB40C
ΔE00 4.00
Dark Yellow
#D5B60A
ΔE00 4.66
Goldenrod
#DAA520
ΔE00 4.90
Mustard (survey)
#CEB301
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AE3B #3B5FD2
analogous
#D2623B #D2AE3B #ABD23B
triadic
#D2AE3B #3BD2AE #AE3BD2
tetradic
#D2AE3B #3BD262 #3B5FD2 #D23BAB
square
#D2AE3B #3BD262 #3B5FD2 #D23BAB
split-complementary
#D2AE3B #3BABD2 #623BD2
monochromatic
#77611B #A98A27 #D2AE3B #DDC36D #E9D79F
Accessibility & contrast
On white
2.13
#D2AE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#D2AE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AE3B
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AE3B | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2ae3b; /* rgb */ color: rgb(210, 174, 59); /* oklch */ color: oklch(76.3% 0.135 91.0);
Tailwind
colors: {
custom: {
50: '#e4c578',
500: '#d2ae3b',
950: '#000000',
},
}SCSS
$custom: #d2ae3b; $custom-light: #e4c578; $custom-dark: #000000;
JSON
{
"hex": "#d2ae3b",
"rgb": {
"r": 210,
"g": 174,
"b": 59
},
"hsl": {
"h": 45.695,
"s": 62.656,
"l": 52.745
},
"oklch": {
"l": 0.7628,
"c": 0.13523,
"h": 91
},
"luminance": 0.4429
}Semantic roles & 50–950 ramp
primary
#D2AE3B
secondary
#94A3D5
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B