#BFAC42#BFAC42

#BFAC42 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.126 H 99.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BFAC42
RGBrgb(191, 172, 66)
HSLhsl(51, 49%, 50%)
HSVhsv(51, 65%, 75%)
CMYKcmyk(0%, 9.9%, 65.4%, 25.1%)
CIE-LABlab(70.16, -5.56, 55.12)
CIE-LCHlch(70.16, 55.40, 95.76°)
OKLaboklab(74.09% -0.0199 0.1248)
OKLCHoklch(74.09% 0.126 99.1)
XYZxyz(37.2234, 40.9765, 11.1017)
Luminance0.4098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC42 #4255BF
analogous
#BF6D42 #BFAC42 #93BF42
triadic
#BFAC42 #42BFAC #AC42BF
tetradic
#BFAC42 #42BF6D #4255BF #BF4293
square
#BFAC42 #42BF6D #4255BF #BF4293
split-complementary
#BFAC42 #4293BF #6D42BF
monochromatic
#655A22 #928432 #BFAC42 #CEC070 #DED49D

Accessibility & contrast

On white

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

On black

9.19
#BFAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC42
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC42#FFFFFF#000000##000000
##BFAC421.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#CDA096
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac42;
/* rgb */ color: rgb(191, 172, 66);
/* oklch */ color: oklch(74.1% 0.126 99.1);
Tailwind
colors: {
  custom: {
    50: '#d5c47b',
    500: '#bfac42',
    950: '#000000',
  },
}
SCSS
$custom: #bfac42;
$custom-light: #d5c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac42",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 50.88,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74087,
    "c": 0.12642,
    "h": 99.1
  },
  "luminance": 0.40975
}

Semantic roles & 50–950 ramp

primary
#BFAC42
secondary
#939BCA
accent
#64D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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