#D7BF4F#D7BF4F
#D7BF4F is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.133 H 97.2°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #D7BF4F |
|---|---|
| RGB | rgb(215, 191, 79) |
| HSL | hsl(49, 63%, 58%) |
| HSV | hsv(49, 63%, 84%) |
| CMYK | cmyk(0%, 11.2%, 63.3%, 15.7%) |
| CIE-LAB | lab(77.45, -4.42, 57.92) |
| CIE-LCH | lch(77.45, 58.09, 94.36°) |
| OKLab | oklab(80.41% -0.0166 0.1321) |
| OKLCH | oklch(80.41% 0.133 97.2) |
| XYZ | xyz(48.0685, 52.2755, 14.9539) |
| Luminance | 0.5227 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.88
Sand (survey)
#E2CA76
ΔE00 5.01
Dark Yellow
#D5B60A
ΔE00 5.04
Mustard
#DBB42C
ΔE00 5.07
Mustard (survey)
#CEB301
ΔE00 5.35
Maize
#F4D054
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7BF4F #4F67D7
analogous
#D77B4F #D7BF4F #ABD74F
triadic
#D7BF4F #4FD7BF #BF4FD7
tetradic
#D7BF4F #4FD77B #4F67D7 #D74FAB
square
#D7BF4F #4FD77B #4F67D7 #D74FAB
split-complementary
#D7BF4F #4FABD7 #7B4FD7
monochromatic
#8C7920 #BEA42B #D7BF4F #E2D181 #EEE3B3
Accessibility & contrast
On white
1.83
#D7BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#D7BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7BF4F
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7BF4F | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d7bf4f; /* rgb */ color: rgb(215, 191, 79); /* oklch */ color: oklch(80.4% 0.133 97.2);
Tailwind
colors: {
custom: {
50: '#e7d285',
500: '#d7bf4f',
950: '#000000',
},
}SCSS
$custom: #d7bf4f; $custom-light: #e7d285; $custom-dark: #000000;
JSON
{
"hex": "#d7bf4f",
"rgb": {
"r": 215,
"g": 191,
"b": 79
},
"hsl": {
"h": 49.412,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.80409,
"c": 0.13312,
"h": 97.2
},
"luminance": 0.52273
}Semantic roles & 50–950 ramp
primary
#D7BF4F
secondary
#394892
accent
#5FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E