#D7B546#D7B546
#D7B546 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.3% C 0.133 H 91.8°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D7B546 |
|---|---|
| RGB | rgb(215, 181, 70) |
| HSL | hsl(46, 64%, 56%) |
| HSV | hsv(46, 67%, 84%) |
| CMYK | cmyk(0%, 15.8%, 67.4%, 15.7%) |
| CIE-LAB | lab(74.79, 0.26, 58.96) |
| CIE-LCH | lch(74.79, 58.96, 89.75°) |
| OKLab | oklab(78.28% -0.0042 0.1329) |
| OKLCH | oklch(78.28% 0.133 91.8) |
| XYZ | xyz(45.6560, 47.9396, 12.6416) |
| Luminance | 0.4794 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.59
Gold (survey)
#DBB40C
ΔE00 4.13
Dark Yellow
#D5B60A
ΔE00 4.51
Burnt Yellow
#D5AB09
ΔE00 4.52
Mustard (survey)
#CEB301
ΔE00 5.02
Desert
#CCAD60
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7B546 #4668D7
analogous
#D76C46 #D7B546 #B0D746
triadic
#D7B546 #46D7B5 #B546D7
tetradic
#D7B546 #46D76C #4668D7 #D746B0
square
#D7B546 #46D76C #4668D7 #D746B0
split-complementary
#D7B546 #46B0D7 #6C46D7
monochromatic
#866D1D #B89628 #D7B546 #E2C978 #EDDDAB
Accessibility & contrast
On white
1.98
#D7B546 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#D7B546 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7B546
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7B546 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7B546 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B238
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E8A79E
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #d7b546; /* rgb */ color: rgb(215, 181, 70); /* oklch */ color: oklch(78.3% 0.133 91.8);
Tailwind
colors: {
custom: {
50: '#e7ca7f',
500: '#d7b546',
950: '#000000',
},
}SCSS
$custom: #d7b546; $custom-light: #e7ca7f; $custom-dark: #000000;
JSON
{
"hex": "#d7b546",
"rgb": {
"r": 215,
"g": 181,
"b": 70
},
"hsl": {
"h": 45.931,
"s": 64.444,
"l": 55.882
},
"oklch": {
"l": 0.78283,
"c": 0.13295,
"h": 91.8
},
"luminance": 0.47937
}Semantic roles & 50–950 ramp
primary
#D7B546
secondary
#9EACDA
accent
#68E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C