#BDAF5B#BDAF5B
#BDAF5B is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.107 H 100.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BDAF5B |
|---|---|
| RGB | rgb(189, 175, 91) |
| HSL | hsl(51, 43%, 55%) |
| HSV | hsv(51, 52%, 74%) |
| CMYK | cmyk(0%, 7.4%, 51.9%, 25.9%) |
| CIE-LAB | lab(71.03, -6.14, 44.44) |
| CIE-LCH | lch(71.03, 44.86, 97.86°) |
| OKLab | oklab(74.82% -0.0185 0.1051) |
| OKLCH | oklch(74.82% 0.107 100) |
| XYZ | xyz(38.2058, 42.2355, 16.0353) |
| Luminance | 0.4223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.39
Khaki (survey)
#AAA662
ΔE00 5.10
Desert
#CCAD60
ΔE00 5.52
Sandy Brown
#C4A661
ΔE00 6.18
Tan (survey)
#D1B26F
ΔE00 6.78
Sandstone
#C9AE74
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDAF5B #5B69BD
analogous
#BD7E5B #BDAF5B #9ABD5B
triadic
#BDAF5B #5BBDAF #AF5BBD
tetradic
#BDAF5B #5BBD7E #5B69BD #BD5B9A
square
#BDAF5B #5BBD7E #5B69BD #BD5B9A
split-complementary
#BDAF5B #5B9ABD #7E5BBD
monochromatic
#70672D #9C8F3F #BDAF5B #CFC487 #E0DAB2
Accessibility & contrast
On white
2.22
#BDAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#BDAF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDAF5B
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDAF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDAF5B | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#C1B05F
Tritanopia (blue-blind)
#C9A59C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bdaf5b; /* rgb */ color: rgb(189, 175, 91); /* oklch */ color: oklch(74.8% 0.107 100.0);
Tailwind
colors: {
custom: {
50: '#d3c68b',
500: '#bdaf5b',
950: '#000000',
},
}SCSS
$custom: #bdaf5b; $custom-light: #d3c68b; $custom-dark: #000000;
JSON
{
"hex": "#bdaf5b",
"rgb": {
"r": 189,
"g": 175,
"b": 91
},
"hsl": {
"h": 51.429,
"s": 42.609,
"l": 54.902
},
"oklch": {
"l": 0.74818,
"c": 0.10671,
"h": 100
},
"luminance": 0.42234
}Semantic roles & 50–950 ramp
primary
#BDAF5B
secondary
#A5ABCF
accent
#67D255
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D