#D4B246#D4B246
#D4B246 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.4% C 0.130 H 91.4°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D4B246 |
|---|---|
| RGB | rgb(212, 178, 70) |
| HSL | hsl(46, 62%, 55%) |
| HSV | hsv(46, 67%, 83%) |
| CMYK | cmyk(0%, 16%, 67%, 16.9%) |
| CIE-LAB | lab(73.73, 0.55, 57.76) |
| CIE-LCH | lch(73.73, 57.76, 89.45°) |
| OKLab | oklab(77.38% -0.0032 0.1304) |
| OKLCH | oklch(77.38% 0.13 91.4) |
| XYZ | xyz(44.1795, 46.2826, 12.3996) |
| Luminance | 0.4628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.97
Burnt Yellow
#D5AB09
ΔE00 4.41
Gold (survey)
#DBB40C
ΔE00 4.51
Desert
#CCAD60
ΔE00 4.69
Dark Yellow
#D5B60A
ΔE00 4.93
Mustard (survey)
#CEB301
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4B246 #4668D4
analogous
#D46B46 #D4B246 #AFD446
triadic
#D4B246 #46D4B2 #B246D4
tetradic
#D4B246 #46D46B #4668D4 #D446AF
square
#D4B246 #46D46B #4668D4 #D446AF
split-complementary
#D4B246 #46AFD4 #6B46D4
monochromatic
#816A1E #B3922A #D4B246 #E0C778 #EBDBA9
Accessibility & contrast
On white
2.05
#D4B246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#D4B246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4B246
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4B246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4B246 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B039
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#E5A49B
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #d4b246; /* rgb */ color: rgb(212, 178, 70); /* oklch */ color: oklch(77.4% 0.130 91.4);
Tailwind
colors: {
custom: {
50: '#e5c87f',
500: '#d4b246',
950: '#000000',
},
}SCSS
$custom: #d4b246; $custom-light: #e5c87f; $custom-dark: #000000;
JSON
{
"hex": "#d4b246",
"rgb": {
"r": 212,
"g": 178,
"b": 70
},
"hsl": {
"h": 45.634,
"s": 62.281,
"l": 55.294
},
"oklch": {
"l": 0.77381,
"c": 0.13048,
"h": 91.4
},
"luminance": 0.4628
}Semantic roles & 50–950 ramp
primary
#D4B246
secondary
#9DABD9
accent
#69E542
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C