#D4B552#D4B552
#D4B552 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.1% C 0.123 H 91.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #D4B552 |
|---|---|
| RGB | rgb(212, 181, 82) |
| HSL | hsl(46, 60%, 58%) |
| HSV | hsv(46, 61%, 83%) |
| CMYK | cmyk(0%, 14.6%, 61.3%, 16.9%) |
| CIE-LAB | lab(74.61, -0.28, 53.39) |
| CIE-LCH | lch(74.61, 53.39, 90.30°) |
| OKLab | oklab(78.11% -0.0041 0.1229) |
| OKLCH | oklch(78.11% 0.123 91.9) |
| XYZ | xyz(45.2003, 47.6564, 14.7988) |
| Luminance | 0.4765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.99
Mustard
#DBB42C
ΔE00 4.20
Tan (survey)
#D1B26F
ΔE00 5.41
Gold (survey)
#DBB40C
ΔE00 5.72
Dark Yellow
#D5B60A
ΔE00 5.85
Burnt Yellow
#D5AB09
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4B552 #5271D4
analogous
#D47452 #D4B552 #B2D452
triadic
#D4B552 #52D4B5 #B552D4
tetradic
#D4B552 #52D474 #5271D4 #D452B2
square
#D4B552 #52D474 #5271D4 #D452B2
split-complementary
#D4B552 #52B2D4 #7452D4
monochromatic
#897122 #BA992E #D4B552 #E0CA83 #ECDFB4
Accessibility & contrast
On white
1.99
#D4B552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#D4B552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4B552
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4B552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4B552 | 1.00 | 1.99 | 10.53 | 10.53 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B248
Deuteranopia (green-blind)
#CEBB56
Tritanopia (blue-blind)
#E4A89F
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d4b552; /* rgb */ color: rgb(212, 181, 82); /* oklch */ color: oklch(78.1% 0.123 91.9);
Tailwind
colors: {
custom: {
50: '#e4ca86',
500: '#d4b552',
950: '#000000',
},
}SCSS
$custom: #d4b552; $custom-light: #e4ca86; $custom-dark: #000000;
JSON
{
"hex": "#d4b552",
"rgb": {
"r": 212,
"g": 181,
"b": 82
},
"hsl": {
"h": 45.692,
"s": 60.185,
"l": 57.647
},
"oklch": {
"l": 0.78109,
"c": 0.12299,
"h": 91.9
},
"luminance": 0.47654
}Semantic roles & 50–950 ramp
primary
#D4B552
secondary
#A7B3DB
accent
#6AE344
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C