#BCAF5B#BCAF5B
#BCAF5B is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.107 H 100.6°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #BCAF5B |
|---|---|
| RGB | rgb(188, 175, 91) |
| HSL | hsl(52, 42%, 55%) |
| HSV | hsv(52, 52%, 74%) |
| CMYK | cmyk(0%, 6.9%, 51.6%, 26.3%) |
| CIE-LAB | lab(70.95, -6.56, 44.31) |
| CIE-LCH | lch(70.95, 44.80, 98.42°) |
| OKLab | oklab(74.73% -0.0197 0.1048) |
| OKLCH | oklch(74.73% 0.107 100.6) |
| XYZ | xyz(37.9585, 42.1080, 16.0237) |
| Luminance | 0.4211 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.22
Khaki (survey)
#AAA662
ΔE00 4.90
Desert
#CCAD60
ΔE00 5.81
Sandy Brown
#C4A661
ΔE00 6.42
Sand
#C2B280
ΔE00 6.99
Tan (survey)
#D1B26F
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCAF5B #5B68BC
analogous
#BC7F5B #BCAF5B #98BC5B
triadic
#BCAF5B #5BBCAF #AF5BBC
tetradic
#BCAF5B #5BBC7F #5B68BC #BC5B98
square
#BCAF5B #5BBC7F #5B68BC #BC5B98
split-complementary
#BCAF5B #5B98BC #7F5BBC
monochromatic
#6F662D #9B8E3F #BCAF5B #CEC486 #E0D9B2
Accessibility & contrast
On white
2.23
#BCAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#BCAF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCAF5B
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCAF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCAF5B | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#C0B05F
Tritanopia (blue-blind)
#C8A59C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #bcaf5b; /* rgb */ color: rgb(188, 175, 91); /* oklch */ color: oklch(74.7% 0.107 100.6);
Tailwind
colors: {
custom: {
50: '#d2c68b',
500: '#bcaf5b',
950: '#000000',
},
}SCSS
$custom: #bcaf5b; $custom-light: #d2c68b; $custom-dark: #000000;
JSON
{
"hex": "#bcaf5b",
"rgb": {
"r": 188,
"g": 175,
"b": 91
},
"hsl": {
"h": 51.959,
"s": 41.991,
"l": 54.706
},
"oklch": {
"l": 0.74727,
"c": 0.10666,
"h": 100.6
},
"luminance": 0.42107
}Semantic roles & 50–950 ramp
primary
#BCAF5B
secondary
#A5AACE
accent
#67D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D