#D5BF4F#D5BF4F
#D5BF4F is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.133 H 98.2°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #D5BF4F |
|---|---|
| RGB | rgb(213, 191, 79) |
| HSL | hsl(50, 61%, 57%) |
| HSV | hsv(50, 63%, 84%) |
| CMYK | cmyk(0%, 10.3%, 62.9%, 16.5%) |
| CIE-LAB | lab(77.27, -5.26, 57.68) |
| CIE-LCH | lch(77.27, 57.92, 95.22°) |
| OKLab | oklab(80.22% -0.0189 0.1316) |
| OKLCH | oklch(80.22% 0.133 98.2) |
| XYZ | xyz(47.4847, 51.9744, 14.9265) |
| Luminance | 0.5197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.81
Sand (survey)
#E2CA76
ΔE00 5.14
Dark Yellow
#D5B60A
ΔE00 5.23
Mustard (survey)
#CEB301
ΔE00 5.42
Ugly Yellow
#D0C101
ΔE00 5.47
Mustard
#DBB42C
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5BF4F #4F65D5
analogous
#D57C4F #D5BF4F #A8D54F
triadic
#D5BF4F #4FD5BF #BF4FD5
tetradic
#D5BF4F #4FD57C #4F65D5 #D54FA8
square
#D5BF4F #4FD57C #4F65D5 #D54FA8
split-complementary
#D5BF4F #4FA8D5 #7C4FD5
monochromatic
#897821 #BAA32C #D5BF4F #E1D180 #EDE3B2
Accessibility & contrast
On white
1.84
#D5BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#D5BF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5BF4F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5BF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5BF4F | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA42
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d5bf4f; /* rgb */ color: rgb(213, 191, 79); /* oklch */ color: oklch(80.2% 0.133 98.2);
Tailwind
colors: {
custom: {
50: '#e5d285',
500: '#d5bf4f',
950: '#000000',
},
}SCSS
$custom: #d5bf4f; $custom-light: #e5d285; $custom-dark: #000000;
JSON
{
"hex": "#d5bf4f",
"rgb": {
"r": 213,
"g": 191,
"b": 79
},
"hsl": {
"h": 50.149,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.80224,
"c": 0.13296,
"h": 98.2
},
"luminance": 0.51972
}Semantic roles & 50–950 ramp
primary
#D5BF4F
secondary
#39478F
accent
#5EE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E