#BFAC5A#BFAC5A

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

Color values

HEX#BFAC5A
RGBrgb(191, 172, 90)
HSLhsl(49, 44%, 55%)
HSVhsv(49, 53%, 75%)
CMYKcmyk(0%, 9.9%, 52.9%, 25.1%)
CIE-LABlab(70.40, -3.80, 44.22)
CIE-LCHlch(70.40, 44.39, 94.91°)
OKLaboklab(74.36% -0.012 0.1045)
OKLCHoklch(74.36% 0.105 96.6)
XYZxyz(38.0852, 41.3212, 15.6405)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC5A #5A6DBF
analogous
#BF7A5A #BFAC5A #9FBF5A
triadic
#BFAC5A #5ABFAC #AC5ABF
tetradic
#BFAC5A #5ABF7A #5A6DBF #BF5A9F
square
#BFAC5A #5ABF7A #5A6DBF #BF5A9F
split-complementary
#BFAC5A #5A9FBF #7A5ABF
monochromatic
#72652C #9E8C3D #BFAC5A #D0C286 #E1D8B2

Accessibility & contrast

On white

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

On black

9.26
#BFAC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC5A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC5A#FFFFFF#000000##000000
##BFAC5A1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfac5a;
/* rgb */ color: rgb(191, 172, 90);
/* oklch */ color: oklch(74.4% 0.105 96.6);
Tailwind
colors: {
  custom: {
    50: '#d4c48b',
    500: '#bfac5a',
    950: '#000000',
  },
}
SCSS
$custom: #bfac5a;
$custom-light: #d4c48b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac5a",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 90
  },
  "hsl": {
    "h": 48.713,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.10518,
    "h": 96.6
  },
  "luminance": 0.4132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFAC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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