#BFAC40#BFAC40

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

Color values

HEX#BFAC40
RGBrgb(191, 172, 64)
HSLhsl(51, 50%, 50%)
HSVhsv(51, 66%, 75%)
CMYKcmyk(0%, 9.9%, 66.5%, 25.1%)
CIE-LABlab(70.14, -5.68, 55.95)
CIE-LCHlch(70.14, 56.24, 95.80°)
OKLaboklab(74.07% -0.0205 0.1263)
OKLCHoklch(74.07% 0.128 99.2)
XYZxyz(37.1654, 40.9533, 10.7966)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC40 #4053BF
analogous
#BF6D40 #BFAC40 #92BF40
triadic
#BFAC40 #40BFAC #AC40BF
tetradic
#BFAC40 #40BF6D #4053BF #BF4092
square
#BFAC40 #40BF6D #4053BF #BF4092
split-complementary
#BFAC40 #4092BF #6D40BF
monochromatic
#635921 #918331 #BFAC40 #CEC06E #DED49C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFAC40#FFFFFF#000000##000000
##BFAC401.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)
#BCA832
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#CDA096
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac40;
/* rgb */ color: rgb(191, 172, 64);
/* oklch */ color: oklch(74.1% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#d6c47a',
    500: '#bfac40',
    950: '#000000',
  },
}
SCSS
$custom: #bfac40;
$custom-light: #d6c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac40",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 51.024,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.74069,
    "c": 0.12794,
    "h": 99.2
  },
  "luminance": 0.40952
}

Semantic roles & 50–950 ramp

primary
#BFAC40
secondary
#9199CA
accent
#63D94E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #BFAC40

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

Preview Lab → · Contrast checker → · Palette generator →

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