#BCB271#BCB271
#BCB271 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.086 H 100.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BCB271 |
|---|---|
| RGB | rgb(188, 178, 113) |
| HSL | hsl(52, 36%, 59%) |
| HSV | hsv(52, 40%, 74%) |
| CMYK | cmyk(0%, 5.3%, 39.9%, 26.3%) |
| CIE-LAB | lab(72.04, -5.93, 34.49) |
| CIE-LCH | lch(72.04, 35.00, 99.76°) |
| OKLab | oklab(75.7% -0.0158 0.0844) |
| OKLCH | oklch(75.7% 0.086 100.6) |
| XYZ | xyz(39.6408, 43.7255, 21.9713) |
| Luminance | 0.4372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 2.57
Sand
#C2B280
ΔE00 4.06
Khaki (survey)
#AAA662
ΔE00 4.31
Sandstone
#C9AE74
ΔE00 5.95
Desert
#CCAD60
ΔE00 6.67
Tan (survey)
#D1B26F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BCB271 #717BBC
analogous
#BC8D71 #BCB271 #A1BC71
triadic
#BCB271 #71BCB2 #B271BC
tetradic
#BCB271 #71BC8D #717BBC #BC71A1
square
#BCB271 #71BC8D #717BBC #BC71A1
split-complementary
#BCB271 #71A1BC #8D71BC
monochromatic
#797139 #A3974D #BCB271 #D0C99B #E3DFC4
Accessibility & contrast
On white
2.15
#BCB271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#BCB271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BCB271
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BCB271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BCB271 | 1.00 | 2.15 | 9.74 | 9.74 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAE6C
Deuteranopia (green-blind)
#C1B374
Tritanopia (blue-blind)
#C6A9A2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bcb271; /* rgb */ color: rgb(188, 178, 113); /* oklch */ color: oklch(75.7% 0.086 100.6);
Tailwind
colors: {
custom: {
50: '#d1c89a',
500: '#bcb271',
950: '#000000',
},
}SCSS
$custom: #bcb271; $custom-light: #d1c89a; $custom-dark: #000000;
JSON
{
"hex": "#bcb271",
"rgb": {
"r": 188,
"g": 178,
"b": 113
},
"hsl": {
"h": 52,
"s": 35.885,
"l": 59.02
},
"oklch": {
"l": 0.75695,
"c": 0.08584,
"h": 100.6
},
"luminance": 0.43724
}Semantic roles & 50–950 ramp
primary
#BCB271
secondary
#B6BAD3
accent
#6BCC5C
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E