#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
RGBrgb(191, 175, 113)
HSLhsl(48, 38%, 60%)
HSVhsv(48, 41%, 75%)
CMYKcmyk(0%, 8.4%, 40.8%, 25.1%)
CIE-LABlab(71.51, -3.13, 33.86)
CIE-LCHlch(71.51, 34.00, 95.28°)
OKLaboklab(75.33% -0.0078 0.0829)
OKLCHoklch(75.33% 0.083 95.4)
XYZxyz(39.7973, 42.9299, 21.8095)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##BFAF711.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.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

Preview Lab

Preview with #BFAF71

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BFAF71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva