#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
RGBrgb(191, 178, 113)
HSLhsl(50, 38%, 60%)
HSVhsv(50, 41%, 75%)
CMYKcmyk(0%, 6.8%, 40.8%, 25.1%)
CIE-LABlab(72.30, -4.71, 34.88)
CIE-LCHlch(72.30, 35.19, 97.70°)
OKLaboklab(75.96% -0.0124 0.0852)
OKLCHoklch(75.96% 0.086 98.3)
XYZxyz(40.3877, 44.1107, 22.0063)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##BFB2711.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.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

Preview Lab

Preview with #BFB271

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

Preview Lab → · Contrast checker → · Palette generator →

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