#BFAC4F#BFAC4F

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

Color values

HEX#BFAC4F
RGBrgb(191, 172, 79)
HSLhsl(50, 47%, 53%)
HSVhsv(50, 59%, 75%)
CMYKcmyk(0%, 9.9%, 58.6%, 25.1%)
CIE-LABlab(70.28, -4.68, 49.39)
CIE-LCHlch(70.28, 49.61, 95.41°)
OKLaboklab(74.22% -0.0159 0.1145)
OKLCHoklch(74.22% 0.116 97.9)
XYZxyz(37.6511, 41.1476, 13.3546)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC4F #4F62BF
analogous
#BF744F #BFAC4F #9ABF4F
triadic
#BFAC4F #4FBFAC #AC4FBF
tetradic
#BFAC4F #4FBF74 #4F62BF #BF4F9A
square
#BFAC4F #4FBF74 #4F62BF #BF4F9A
split-complementary
#BFAC4F #4F9ABF #744FBF
monochromatic
#6C6127 #998938 #BFAC4F #CFC17C #E0D6A9

Accessibility & contrast

On white

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

On black

9.23
#BFAC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC4F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC4F#FFFFFF#000000##000000
##BFAC4F1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#C0AF53
Tritanopia (blue-blind)
#CDA197
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bfac4f;
/* rgb */ color: rgb(191, 172, 79);
/* oklch */ color: oklch(74.2% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#d5c483',
    500: '#bfac4f',
    950: '#000000',
  },
}
SCSS
$custom: #bfac4f;
$custom-light: #d5c483;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac4f",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 49.821,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.11556,
    "h": 97.9
  },
  "luminance": 0.41146
}

Semantic roles & 50–950 ramp

primary
#BFAC4F
secondary
#9DA5CD
accent
#68D651
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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