#BFAC33#BFAC33

#BFAC33 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.137 H 100.0°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BFAC33
RGBrgb(191, 172, 51)
HSLhsl(52, 58%, 47%)
HSVhsv(52, 73%, 75%)
CMYKcmyk(0%, 9.9%, 73.3%, 25.1%)
CIE-LABlab(70.05, -6.36, 61.02)
CIE-LCHlch(70.05, 61.35, 95.95°)
OKLaboklab(73.97% -0.0239 0.1347)
OKLCHoklch(73.97% 0.137 100)
XYZxyz(36.8377, 40.8222, 9.0704)
Luminance0.4082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC33 #3346BF
analogous
#BF6633 #BFAC33 #8CBF33
triadic
#BFAC33 #33BFAC #AC33BF
tetradic
#BFAC33 #33BF66 #3346BF #BF338C
square
#BFAC33 #33BF66 #3346BF #BF338C
split-complementary
#BFAC33 #338CBF #6633BF
monochromatic
#5E5519 #8F8126 #BFAC33 #D3C35C #E0D58C

Accessibility & contrast

On white

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

On black

9.16
#BFAC33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC33
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC33#FFFFFF#000000##000000
##BFAC331.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA71E
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#CE9F94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac33;
/* rgb */ color: rgb(191, 172, 51);
/* oklch */ color: oklch(74.0% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#d6c473',
    500: '#bfac33',
    950: '#000000',
  },
}
SCSS
$custom: #bfac33;
$custom-light: #d6c473;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac33",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 51.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73967,
    "c": 0.13681,
    "h": 100
  },
  "luminance": 0.4082
}

Semantic roles & 50–950 ramp

primary
#BFAC33
secondary
#838DCB
accent
#5CE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC33

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

Preview Lab → · Contrast checker → · Palette generator →

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