#BFAC4A#BFAC4A

#BFAC4A is a light, moderate yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.120 H 98.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BFAC4A
RGBrgb(191, 172, 74)
HSLhsl(50, 48%, 52%)
HSVhsv(50, 61%, 75%)
CMYKcmyk(0%, 9.9%, 61.3%, 25.1%)
CIE-LABlab(70.23, -5.04, 51.65)
CIE-LCHlch(70.23, 51.89, 95.57°)
OKLaboklab(74.17% -0.0175 0.1187)
OKLCHoklch(74.17% 0.12 98.4)
XYZxyz(37.4759, 41.0775, 12.4320)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC4A #4A5DBF
analogous
#BF714A #BFAC4A #98BF4A
triadic
#BFAC4A #4ABFAC #AC4ABF
tetradic
#BFAC4A #4ABF71 #4A5DBF #BF4A98
square
#BFAC4A #4ABF71 #4A5DBF #BF4A98
split-complementary
#BFAC4A #4A98BF #714ABF
monochromatic
#695E25 #978735 #BFAC4A #CFC177 #DFD5A4

Accessibility & contrast

On white

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

On black

9.22
#BFAC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC4A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC4A#FFFFFF#000000##000000
##BFAC4A1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA83F
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#CDA097
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac4a;
/* rgb */ color: rgb(191, 172, 74);
/* oklch */ color: oklch(74.2% 0.120 98.4);
Tailwind
colors: {
  custom: {
    50: '#d5c480',
    500: '#bfac4a',
    950: '#000000',
  },
}
SCSS
$custom: #bfac4a;
$custom-light: #d5c480;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac4a",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 50.256,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.11993,
    "h": 98.4
  },
  "luminance": 0.41076
}

Semantic roles & 50–950 ramp

primary
#BFAC4A
secondary
#99A1CC
accent
#66D750
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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