#D7B747#D7B747
#D7B747 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.133 H 93.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D7B747 |
|---|---|
| RGB | rgb(215, 183, 71) |
| HSL | hsl(47, 64%, 56%) |
| HSV | hsv(47, 67%, 84%) |
| CMYK | cmyk(0%, 14.9%, 67%, 15.7%) |
| CIE-LAB | lab(75.31, -0.73, 59.08) |
| CIE-LCH | lch(75.31, 59.09, 90.71°) |
| OKLab | oklab(78.7% -0.007 0.1333) |
| OKLCH | oklch(78.7% 0.133 93) |
| XYZ | xyz(46.0975, 48.7715, 12.9458) |
| Luminance | 0.4877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.83
Gold (survey)
#DBB40C
ΔE00 4.21
Dark Yellow
#D5B60A
ΔE00 4.27
Mustard (survey)
#CEB301
ΔE00 4.77
Burnt Yellow
#D5AB09
ΔE00 4.94
Brownish Yellow
#C9B003
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7B747 #4767D7
analogous
#D76F47 #D7B747 #AFD747
triadic
#D7B747 #47D7B7 #B747D7
tetradic
#D7B747 #47D76F #4767D7 #D747AF
square
#D7B747 #47D76F #4767D7 #D747AF
split-complementary
#D7B747 #47AFD7 #6F47D7
monochromatic
#866F1D #B99928 #D7B747 #E2CB79 #EDDEAC
Accessibility & contrast
On white
1.95
#D7B747 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#D7B747 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7B747
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7B747 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7B747 | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D2BD4D
Tritanopia (blue-blind)
#E8A9A0
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #d7b747; /* rgb */ color: rgb(215, 183, 71); /* oklch */ color: oklch(78.7% 0.133 93.0);
Tailwind
colors: {
custom: {
50: '#e7cc80',
500: '#d7b747',
950: '#000000',
},
}SCSS
$custom: #d7b747; $custom-light: #e7cc80; $custom-dark: #000000;
JSON
{
"hex": "#d7b747",
"rgb": {
"r": 215,
"g": 183,
"b": 71
},
"hsl": {
"h": 46.667,
"s": 64.286,
"l": 56.078
},
"oklch": {
"l": 0.78698,
"c": 0.13349,
"h": 93
},
"luminance": 0.48769
}Semantic roles & 50–950 ramp
primary
#D7B747
secondary
#9FACDB
accent
#66E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C