#BFAB5F#BFAB5F

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

Color values

HEX#BFAB5F
RGBrgb(191, 171, 95)
HSLhsl(48, 43%, 56%)
HSVhsv(48, 50%, 75%)
CMYKcmyk(0%, 10.5%, 50.3%, 25.1%)
CIE-LABlab(70.20, -2.82, 41.48)
CIE-LCHlch(70.20, 41.58, 93.89°)
OKLaboklab(74.21% -0.0087 0.0989)
OKLCHoklch(74.21% 0.099 95)
XYZxyz(38.1156, 41.0300, 16.7361)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB5F #5F73BF
analogous
#BF7B5F #BFAB5F #A3BF5F
triadic
#BFAB5F #5FBFAB #AB5FBF
tetradic
#BFAB5F #5FBF7B #5F73BF #BF5FA3
square
#BFAB5F #5FBF7B #5F73BF #BF5FA3
split-complementary
#BFAB5F #5FA3BF #7B5FBF
monochromatic
#75662F #A18C40 #BFAB5F #D0C28B #E2D9B6

Accessibility & contrast

On white

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

On black

9.21
#BFAB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB5F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB5F#FFFFFF#000000##000000
##BFAB5F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfab5f;
/* rgb */ color: rgb(191, 171, 95);
/* oklch */ color: oklch(74.2% 0.099 95.0);
Tailwind
colors: {
  custom: {
    50: '#d4c38e',
    500: '#bfab5f',
    950: '#000000',
  },
}
SCSS
$custom: #bfab5f;
$custom-light: #d4c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab5f",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 95
  },
  "hsl": {
    "h": 47.5,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.74214,
    "c": 0.09928,
    "h": 95
  },
  "luminance": 0.41028
}

Semantic roles & 50–950 ramp

primary
#BFAB5F
secondary
#A9B1D1
accent
#6FD355
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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