#BFAF71#BFAF71
#BFAF71 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.083 H 95.4°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAF71 |
|---|---|
| RGB | rgb(191, 175, 113) |
| HSL | hsl(48, 38%, 60%) |
| HSV | hsv(48, 41%, 75%) |
| CMYK | cmyk(0%, 8.4%, 40.8%, 25.1%) |
| CIE-LAB | lab(71.51, -3.13, 33.86) |
| CIE-LCH | lch(71.51, 34.00, 95.28°) |
| OKLab | oklab(75.33% -0.0078 0.0829) |
| OKLCH | oklch(75.33% 0.083 95.4) |
| XYZ | xyz(39.7973, 42.9299, 21.8095) |
| Luminance | 0.4293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 2.89
Sandstone
#C9AE74
ΔE00 3.90
Darkkhaki
#BDB76B
ΔE00 4.40
Sandy Brown
#C4A661
ΔE00 4.85
Tan (survey)
#D1B26F
ΔE00 4.93
Desert
#CCAD60
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAF71 #7181BF
analogous
#BF8871 #BFAF71 #A8BF71
triadic
#BFAF71 #71BFAF #AF71BF
tetradic
#BFAF71 #71BF88 #7181BF #BF71A8
square
#BFAF71 #71BF88 #7181BF #BF71A8
split-complementary
#BFAF71 #71A8BF #8871BF
monochromatic
#7D6F38 #A7954B #BFAF71 #D2C79B #E5DFC5
Accessibility & contrast
On white
2.19
#BFAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#BFAF71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAF71
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAF71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAF71 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBAC6C
Deuteranopia (green-blind)
#BFB173
Tritanopia (blue-blind)
#CAA69F
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bfaf71; /* rgb */ color: rgb(191, 175, 113); /* oklch */ color: oklch(75.3% 0.083 95.4);
Tailwind
colors: {
custom: {
50: '#d3c69a',
500: '#bfaf71',
950: '#000000',
},
}SCSS
$custom: #bfaf71; $custom-light: #d3c69a; $custom-dark: #000000;
JSON
{
"hex": "#bfaf71",
"rgb": {
"r": 191,
"g": 175,
"b": 113
},
"hsl": {
"h": 47.692,
"s": 37.864,
"l": 59.608
},
"oklch": {
"l": 0.75332,
"c": 0.08326,
"h": 95.4
},
"luminance": 0.42929
}Semantic roles & 50–950 ramp
primary
#BFAF71
secondary
#B7BDD5
accent
#72CE5A
background
#FDFCF9
surface
#FAF8F2
border
#D3D1CC
text
#14130E
muted
#83827E