#BFB271#BFB271
#BFB271 is a light, moderate yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.086 H 98.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BFB271 |
|---|---|
| RGB | rgb(191, 178, 113) |
| HSL | hsl(50, 38%, 60%) |
| HSV | hsv(50, 41%, 75%) |
| CMYK | cmyk(0%, 6.8%, 40.8%, 25.1%) |
| CIE-LAB | lab(72.30, -4.71, 34.88) |
| CIE-LCH | lch(72.30, 35.19, 97.70°) |
| OKLab | oklab(75.96% -0.0124 0.0852) |
| OKLCH | oklch(75.96% 0.086 98.3) |
| XYZ | xyz(40.3877, 44.1107, 22.0063) |
| Luminance | 0.4411 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.09
Sand
#C2B280
ΔE00 3.58
Khaki (survey)
#AAA662
ΔE00 4.93
Sandstone
#C9AE74
ΔE00 5.04
Tan (survey)
#D1B26F
ΔE00 5.73
Desert
#CCAD60
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFB271 #717EBF
analogous
#BF8B71 #BFB271 #A5BF71
triadic
#BFB271 #71BFB2 #B271BF
tetradic
#BFB271 #71BF8B #717EBF #BF71A5
square
#BFB271 #71BF8B #717EBF #BF71A5
split-complementary
#BFB271 #71A5BF #8B71BF
monochromatic
#7D7238 #A7984B #BFB271 #D2C99B #E5E0C5
Accessibility & contrast
On white
2.14
#BFB271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#BFB271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFB271
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFB271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFB271 | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAF6C
Deuteranopia (green-blind)
#C2B373
Tritanopia (blue-blind)
#CAA9A2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #bfb271; /* rgb */ color: rgb(191, 178, 113); /* oklch */ color: oklch(76.0% 0.086 98.3);
Tailwind
colors: {
custom: {
50: '#d3c89a',
500: '#bfb271',
950: '#000000',
},
}SCSS
$custom: #bfb271; $custom-light: #d3c89a; $custom-dark: #000000;
JSON
{
"hex": "#bfb271",
"rgb": {
"r": 191,
"g": 178,
"b": 113
},
"hsl": {
"h": 50,
"s": 37.864,
"l": 59.608
},
"oklch": {
"l": 0.75961,
"c": 0.08612,
"h": 98.3
},
"luminance": 0.44109
}Semantic roles & 50–950 ramp
primary
#BFB271
secondary
#B7BCD5
accent
#6DCE5A
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E