#BFAC3B#BFAC3B

#BFAC3B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.0% C 0.132 H 99.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#BFAC3B
RGBrgb(191, 172, 59)
HSLhsl(51, 53%, 49%)
HSVhsv(51, 69%, 75%)
CMYKcmyk(0%, 9.9%, 69.1%, 25.1%)
CIE-LABlab(70.11, -5.96, 57.98)
CIE-LCHlch(70.11, 58.29, 95.87°)
OKLaboklab(74.03% -0.0219 0.1297)
OKLCHoklch(74.03% 0.132 99.6)
XYZxyz(37.0295, 40.8989, 10.0806)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC3B #3B4EBF
analogous
#BF6A3B #BFAC3B #90BF3B
triadic
#BFAC3B #3BBFAC #AC3BBF
tetradic
#BFAC3B #3BBF6A #3B4EBF #BF3B90
square
#BFAC3B #3BBF6A #3B4EBF #BF3B90
split-complementary
#BFAC3B #3B90BF #6A3BBF
monochromatic
#61581E #90822D #BFAC3B #D0C167 #DFD496

Accessibility & contrast

On white

2.29
#BFAC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#BFAC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC3B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC3B#FFFFFF#000000##000000
##BFAC3B1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C2AE42
Tritanopia (blue-blind)
#CEA095
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac3b;
/* rgb */ color: rgb(191, 172, 59);
/* oklch */ color: oklch(74.0% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#d6c477',
    500: '#bfac3b',
    950: '#000000',
  },
}
SCSS
$custom: #bfac3b;
$custom-light: #d6c477;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac3b",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 51.364,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74027,
    "c": 0.13157,
    "h": 99.6
  },
  "luminance": 0.40897
}

Semantic roles & 50–950 ramp

primary
#BFAC3B
secondary
#8C95CA
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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