#D4B451#D4B451
#D4B451 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.9% C 0.123 H 91.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D4B451 |
|---|---|
| RGB | rgb(212, 180, 81) |
| HSL | hsl(45, 60%, 57%) |
| HSV | hsv(45, 62%, 83%) |
| CMYK | cmyk(0%, 15.1%, 61.8%, 16.9%) |
| CIE-LAB | lab(74.34, 0.18, 53.55) |
| CIE-LCH | lch(74.34, 53.55, 89.80°) |
| OKLab | oklab(77.9% -0.0029 0.1231) |
| OKLCH | oklch(77.9% 0.123 91.4) |
| XYZ | xyz(44.9599, 47.2361, 14.5323) |
| Luminance | 0.4723 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.84
Mustard
#DBB42C
ΔE00 4.10
Tan (survey)
#D1B26F
ΔE00 5.33
Gold (survey)
#DBB40C
ΔE00 5.65
Burnt Yellow
#D5AB09
ΔE00 5.70
Dark Yellow
#D5B60A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4B451 #5171D4
analogous
#D47351 #D4B451 #B2D451
triadic
#D4B451 #51D4B4 #B451D4
tetradic
#D4B451 #51D473 #5171D4 #D451B2
square
#D4B451 #51D473 #5171D4 #D451B2
split-complementary
#D4B451 #51B2D4 #7351D4
monochromatic
#897022 #BA982E #D4B451 #E0C982 #ECDEB3
Accessibility & contrast
On white
2.01
#D4B451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#D4B451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4B451
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4B451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4B451 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B146
Deuteranopia (green-blind)
#CEBB55
Tritanopia (blue-blind)
#E4A79E
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #d4b451; /* rgb */ color: rgb(212, 180, 81); /* oklch */ color: oklch(77.9% 0.123 91.4);
Tailwind
colors: {
custom: {
50: '#e4ca85',
500: '#d4b451',
950: '#000000',
},
}SCSS
$custom: #d4b451; $custom-light: #e4ca85; $custom-dark: #000000;
JSON
{
"hex": "#d4b451",
"rgb": {
"r": 212,
"g": 180,
"b": 81
},
"hsl": {
"h": 45.344,
"s": 60.369,
"l": 57.451
},
"oklch": {
"l": 0.77895,
"c": 0.12317,
"h": 91.4
},
"luminance": 0.47234
}Semantic roles & 50–950 ramp
primary
#D4B451
secondary
#A6B3DB
accent
#6BE444
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C