#D5BA4F#D5BA4F
#D5BA4F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.129 H 95.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D5BA4F |
|---|---|
| RGB | rgb(213, 186, 79) |
| HSL | hsl(48, 61%, 57%) |
| HSV | hsv(48, 63%, 84%) |
| CMYK | cmyk(0%, 12.7%, 62.9%, 16.5%) |
| CIE-LAB | lab(75.97, -2.67, 56.27) |
| CIE-LCH | lch(75.97, 56.33, 92.71°) |
| OKLab | oklab(79.2% -0.0115 0.1286) |
| OKLCH | oklch(79.2% 0.129 95.1) |
| XYZ | xyz(46.4129, 49.8308, 14.5692) |
| Luminance | 0.4983 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.28
Dark Yellow
#D5B60A
ΔE00 4.96
Mustard (survey)
#CEB301
ΔE00 5.25
Sand (survey)
#E2CA76
ΔE00 5.33
Gold (survey)
#DBB40C
ΔE00 5.44
Brownish Yellow
#C9B003
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5BA4F #4F6AD5
analogous
#D5774F #D5BA4F #ADD54F
triadic
#D5BA4F #4FD5BA #BA4FD5
tetradic
#D5BA4F #4FD577 #4F6AD5 #D54FAD
square
#D5BA4F #4FD577 #4F6AD5 #D54FAD
split-complementary
#D5BA4F #4FADD5 #774FD5
monochromatic
#897421 #BA9E2C #D5BA4F #E1CD80 #EDE1B2
Accessibility & contrast
On white
1.92
#D5BA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.97
#D5BA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D5BA4F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5BA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5BA4F | 1.00 | 1.92 | 10.97 | 10.97 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB643
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#E5ADA3
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #d5ba4f; /* rgb */ color: rgb(213, 186, 79); /* oklch */ color: oklch(79.2% 0.129 95.1);
Tailwind
colors: {
custom: {
50: '#e5ce85',
500: '#d5ba4f',
950: '#000000',
},
}SCSS
$custom: #d5ba4f; $custom-light: #e5ce85; $custom-dark: #000000;
JSON
{
"hex": "#d5ba4f",
"rgb": {
"r": 213,
"g": 186,
"b": 79
},
"hsl": {
"h": 47.91,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.79195,
"c": 0.12912,
"h": 95.1
},
"luminance": 0.49828
}Semantic roles & 50–950 ramp
primary
#D5BA4F
secondary
#A5B0DB
accent
#64E543
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C