#BFAC3F#BFAC3F

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

Color values

HEX#BFAC3F
RGBrgb(191, 172, 63)
HSLhsl(51, 50%, 50%)
HSVhsv(51, 67%, 75%)
CMYKcmyk(0%, 9.9%, 67%, 25.1%)
CIE-LABlab(70.14, -5.74, 56.37)
CIE-LCHlch(70.14, 56.66, 95.81°)
OKLaboklab(74.06% -0.0208 0.127)
OKLCHoklch(74.06% 0.129 99.3)
XYZxyz(37.1372, 40.9420, 10.6481)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC3F #3F52BF
analogous
#BF6C3F #BFAC3F #92BF3F
triadic
#BFAC3F #3FBFAC #AC3FBF
tetradic
#BFAC3F #3FBF6C #3F52BF #BF3F92
square
#BFAC3F #3FBF6C #3F52BF #BF3F92
split-complementary
#BFAC3F #3F92BF #6C3FBF
monochromatic
#635921 #918330 #BFAC3F #CFC06D #DED49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAC3F#FFFFFF#000000##000000
##BFAC3F1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfac3f;
/* rgb */ color: rgb(191, 172, 63);
/* oklch */ color: oklch(74.1% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#d6c47a',
    500: '#bfac3f',
    950: '#000000',
  },
}
SCSS
$custom: #bfac3f;
$custom-light: #d6c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac3f",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 51.094,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7406,
    "c": 0.12869,
    "h": 99.3
  },
  "luminance": 0.4094
}

Semantic roles & 50–950 ramp

primary
#BFAC3F
secondary
#9099CA
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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