#BFAB5D#BFAB5D

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

Color values

HEX#BFAB5D
RGBrgb(191, 171, 93)
HSLhsl(48, 43%, 56%)
HSVhsv(48, 51%, 75%)
CMYKcmyk(0%, 10.5%, 51.3%, 25.1%)
CIE-LABlab(70.17, -3.00, 42.46)
CIE-LCHlch(70.17, 42.56, 94.05°)
OKLaboklab(74.19% -0.0094 0.1009)
OKLCHoklch(74.19% 0.101 95.3)
XYZxyz(38.0258, 40.9941, 16.2635)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB5D #5D71BF
analogous
#BF7A5D #BFAB5D #A2BF5D
triadic
#BFAB5D #5DBFAB #AB5DBF
tetradic
#BFAB5D #5DBF7A #5D71BF #BF5DA2
square
#BFAB5D #5DBF7A #5D71BF #BF5DA2
split-complementary
#BFAB5D #5DA2BF #7A5DBF
monochromatic
#74662E #A08C3F #BFAB5D #D0C289 #E2D8B5

Accessibility & contrast

On white

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

On black

9.20
#BFAB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB5D
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB5D#FFFFFF#000000##000000
##BFAB5D1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfab5d;
/* rgb */ color: rgb(191, 171, 93);
/* oklch */ color: oklch(74.2% 0.101 95.3);
Tailwind
colors: {
  custom: {
    50: '#d4c38d',
    500: '#bfab5d',
    950: '#000000',
  },
}
SCSS
$custom: #bfab5d;
$custom-light: #d4c38d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab5d",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 93
  },
  "hsl": {
    "h": 47.755,
    "s": 43.363,
    "l": 55.686
  },
  "oklch": {
    "l": 0.74186,
    "c": 0.10132,
    "h": 95.3
  },
  "luminance": 0.40992
}

Semantic roles & 50–950 ramp

primary
#BFAB5D
secondary
#A8B0D0
accent
#6ED355
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFAB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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