#D5BF4E#D5BF4E
#D5BF4E is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.2% C 0.134 H 98.3°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #D5BF4E |
|---|---|
| RGB | rgb(213, 191, 78) |
| HSL | hsl(50, 62%, 57%) |
| HSV | hsv(50, 63%, 84%) |
| CMYK | cmyk(0%, 10.3%, 63.4%, 16.5%) |
| CIE-LAB | lab(77.26, -5.33, 58.10) |
| CIE-LCH | lch(77.26, 58.35, 95.24°) |
| OKLab | oklab(80.21% -0.0192 0.1324) |
| OKLCH | oklch(80.21% 0.134 98.3) |
| XYZ | xyz(47.4486, 51.9600, 14.7362) |
| Luminance | 0.5196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.69
Dark Yellow
#D5B60A
ΔE00 5.14
Sand (survey)
#E2CA76
ΔE00 5.24
Mustard (survey)
#CEB301
ΔE00 5.32
Ugly Yellow
#D0C101
ΔE00 5.36
Mustard
#DBB42C
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5BF4E #4E64D5
analogous
#D57B4E #D5BF4E #A8D54E
triadic
#D5BF4E #4ED5BF #BF4ED5
tetradic
#D5BF4E #4ED57B #4E64D5 #D54EA8
square
#D5BF4E #4ED57B #4E64D5 #D54EA8
split-complementary
#D5BF4E #4EA8D5 #7B4ED5
monochromatic
#887720 #BAA32C #D5BF4E #E1D17F #ECE3B1
Accessibility & contrast
On white
1.84
#D5BF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#D5BF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5BF4E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5BF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5BF4E | 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)
#D0BA41
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#E5B2A7
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d5bf4e; /* rgb */ color: rgb(213, 191, 78); /* oklch */ color: oklch(80.2% 0.134 98.3);
Tailwind
colors: {
custom: {
50: '#e5d284',
500: '#d5bf4e',
950: '#000000',
},
}SCSS
$custom: #d5bf4e; $custom-light: #e5d284; $custom-dark: #000000;
JSON
{
"hex": "#d5bf4e",
"rgb": {
"r": 213,
"g": 191,
"b": 78
},
"hsl": {
"h": 50.222,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.80214,
"c": 0.13376,
"h": 98.3
},
"luminance": 0.51958
}Semantic roles & 50–950 ramp
primary
#D5BF4E
secondary
#39478F
accent
#5DE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E