#BFAB5B#BFAB5B

#BFAB5B is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.103 H 95.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BFAB5B
RGBrgb(191, 171, 91)
HSLhsl(48, 44%, 55%)
HSVhsv(48, 52%, 75%)
CMYKcmyk(0%, 10.5%, 52.4%, 25.1%)
CIE-LABlab(70.15, -3.18, 43.42)
CIE-LCHlch(70.15, 43.54, 94.19°)
OKLaboklab(74.16% -0.0101 0.1028)
OKLCHoklch(74.16% 0.103 95.6)
XYZxyz(37.9384, 40.9591, 15.8030)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB5B #5B6FBF
analogous
#BF795B #BFAB5B #A1BF5B
triadic
#BFAB5B #5BBFAB #AB5BBF
tetradic
#BFAB5B #5BBF79 #5B6FBF #BF5BA1
square
#BFAB5B #5BBF79 #5B6FBF #BF5BA1
split-complementary
#BFAB5B #5BA1BF #795BBF
monochromatic
#73652D #9F8B3E #BFAB5B #D0C287 #E1D8B3

Accessibility & contrast

On white

2.28
#BFAB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#BFAB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB5B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB5B#FFFFFF#000000##000000
##BFAB5B1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A854
Deuteranopia (green-blind)
#BFAE5E
Tritanopia (blue-blind)
#CCA098
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab5b;
/* rgb */ color: rgb(191, 171, 91);
/* oklch */ color: oklch(74.2% 0.103 95.6);
Tailwind
colors: {
  custom: {
    50: '#d4c38b',
    500: '#bfab5b',
    950: '#000000',
  },
}
SCSS
$custom: #bfab5b;
$custom-light: #d4c38b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab5b",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 91
  },
  "hsl": {
    "h": 48,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74159,
    "c": 0.10333,
    "h": 95.6
  },
  "luminance": 0.40958
}

Semantic roles & 50–950 ramp

primary
#BFAB5B
secondary
#A6AED0
accent
#6ED454
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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