#BFAC5B#BFAC5B

#BFAC5B is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.104 H 96.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BFAC5B
RGBrgb(191, 172, 91)
HSLhsl(49, 44%, 55%)
HSVhsv(49, 52%, 75%)
CMYKcmyk(0%, 9.9%, 52.4%, 25.1%)
CIE-LABlab(70.41, -3.71, 43.74)
CIE-LCHlch(70.41, 43.90, 94.85°)
OKLaboklab(74.37% -0.0117 0.1035)
OKLCHoklch(74.37% 0.104 96.4)
XYZxyz(38.1280, 41.3383, 15.8662)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC5B #5B6EBF
analogous
#BF7A5B #BFAC5B #A0BF5B
triadic
#BFAC5B #5BBFAC #AC5BBF
tetradic
#BFAC5B #5BBF7A #5B6EBF #BF5BA0
square
#BFAC5B #5BBF7A #5B6EBF #BF5BA0
split-complementary
#BFAC5B #5BA0BF #7A5BBF
monochromatic
#73652D #9F8C3E #BFAC5B #D0C287 #E1D9B3

Accessibility & contrast

On white

2.27
#BFAC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BFAC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC5B
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC5B#FFFFFF#000000##000000
##BFAC5B1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA954
Deuteranopia (green-blind)
#BFAF5E
Tritanopia (blue-blind)
#CCA199
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac5b;
/* rgb */ color: rgb(191, 172, 91);
/* oklch */ color: oklch(74.4% 0.104 96.4);
Tailwind
colors: {
  custom: {
    50: '#d4c48b',
    500: '#bfac5b',
    950: '#000000',
  },
}
SCSS
$custom: #bfac5b;
$custom-light: #d4c48b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac5b",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 91
  },
  "hsl": {
    "h": 48.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74369,
    "c": 0.10419,
    "h": 96.4
  },
  "luminance": 0.41337
}

Semantic roles & 50–950 ramp

primary
#BFAC5B
secondary
#A6AED0
accent
#6CD454
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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