#D4AE38#D4AE38
#D4AE38 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.5% C 0.138 H 90.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AE38 |
|---|---|
| RGB | rgb(212, 174, 56) |
| HSL | hsl(45, 64%, 53%) |
| HSV | hsv(45, 74%, 83%) |
| CMYK | cmyk(0%, 17.9%, 73.6%, 16.9%) |
| CIE-LAB | lab(72.60, 1.95, 62.29) |
| CIE-LCH | lch(72.60, 62.33, 88.20°) |
| OKLab | oklab(76.46% -0.0008 0.1375) |
| OKLCH | oklch(76.46% 0.138 90.3) |
| XYZ | xyz(43.0037, 44.5574, 10.0760) |
| Luminance | 0.4456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.32
Burnt Yellow
#D5AB09
ΔE00 2.86
Gold (survey)
#DBB40C
ΔE00 3.70
Goldenrod
#DAA520
ΔE00 4.41
Dark Yellow
#D5B60A
ΔE00 4.63
Mustard (survey)
#CEB301
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AE38 #385ED4
analogous
#D46038 #D4AE38 #ACD438
triadic
#D4AE38 #38D4AE #AE38D4
tetradic
#D4AE38 #38D460 #385ED4 #D438AC
square
#D4AE38 #38D460 #385ED4 #D438AC
split-complementary
#D4AE38 #38ACD4 #6038D4
monochromatic
#78611A #AA8A25 #D4AE38 #DFC26A #EAD79D
Accessibility & contrast
On white
2.12
#D4AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#D4AE38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AE38
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AE38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AE38 | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#E59F97
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d4ae38; /* rgb */ color: rgb(212, 174, 56); /* oklch */ color: oklch(76.5% 0.138 90.3);
Tailwind
colors: {
custom: {
50: '#e6c576',
500: '#d4ae38',
950: '#000000',
},
}SCSS
$custom: #d4ae38; $custom-light: #e6c576; $custom-dark: #000000;
JSON
{
"hex": "#d4ae38",
"rgb": {
"r": 212,
"g": 174,
"b": 56
},
"hsl": {
"h": 45.385,
"s": 64.463,
"l": 52.549
},
"oklch": {
"l": 0.76458,
"c": 0.13753,
"h": 90.3
},
"luminance": 0.44555
}Semantic roles & 50–950 ramp
primary
#D4AE38
secondary
#92A3D6
accent
#69E740
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B