#D2AD3C#D2AD3C
#D2AD3C is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.1% C 0.134 H 90.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AD3C |
|---|---|
| RGB | rgb(210, 173, 60) |
| HSL | hsl(45, 63%, 53%) |
| HSV | hsv(45, 71%, 82%) |
| CMYK | cmyk(0%, 17.6%, 71.4%, 17.6%) |
| CIE-LAB | lab(72.17, 1.80, 60.25) |
| CIE-LCH | lch(72.17, 60.27, 88.28°) |
| OKLab | oklab(76.09% -0.0007 0.134) |
| OKLCH | oklch(76.09% 0.134 90.3) |
| XYZ | xyz(42.3399, 43.9176, 10.5209) |
| Luminance | 0.4391 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.92
Burnt Yellow
#D5AB09
ΔE00 3.35
Gold (survey)
#DBB40C
ΔE00 4.29
Goldenrod
#DAA520
ΔE00 4.58
Desert
#CCAD60
ΔE00 5.07
Dark Yellow
#D5B60A
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AD3C #3C61D2
analogous
#D2623C #D2AD3C #ACD23C
triadic
#D2AD3C #3CD2AD #AD3CD2
tetradic
#D2AD3C #3CD262 #3C61D2 #D23CAC
square
#D2AD3C #3CD262 #3C61D2 #D23CAC
split-complementary
#D2AD3C #3CACD2 #623CD2
monochromatic
#78611C #AA8927 #D2AD3C #DDC26E #E9D79F
Accessibility & contrast
On white
2.15
#D2AD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#D2AD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AD3C
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AD3C | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2C
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#E39F96
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #d2ad3c; /* rgb */ color: rgb(210, 173, 60); /* oklch */ color: oklch(76.1% 0.134 90.3);
Tailwind
colors: {
custom: {
50: '#e4c578',
500: '#d2ad3c',
950: '#000000',
},
}SCSS
$custom: #d2ad3c; $custom-light: #e4c578; $custom-dark: #000000;
JSON
{
"hex": "#d2ad3c",
"rgb": {
"r": 210,
"g": 173,
"b": 60
},
"hsl": {
"h": 45.2,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.76085,
"c": 0.13403,
"h": 90.3
},
"luminance": 0.43915
}Semantic roles & 50–950 ramp
primary
#D2AD3C
secondary
#94A4D5
accent
#6BE642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B