#BFAC37#BFAC37

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

Color values

HEX#BFAC37
RGBrgb(191, 172, 55)
HSLhsl(52, 55%, 48%)
HSVhsv(52, 71%, 75%)
CMYKcmyk(0%, 9.9%, 71.2%, 25.1%)
CIE-LABlab(70.08, -6.17, 59.53)
CIE-LCHlch(70.08, 59.85, 95.92°)
OKLaboklab(74% -0.0229 0.1323)
OKLCHoklch(74% 0.134 99.8)
XYZxyz(36.9297, 40.8590, 9.5550)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAC37 #374ABF
analogous
#BF6837 #BFAC37 #8EBF37
triadic
#BFAC37 #37BFAC #AC37BF
tetradic
#BFAC37 #37BF68 #374ABF #BF378E
square
#BFAC37 #37BF68 #374ABF #BF378E
split-complementary
#BFAC37 #378EBF #6837BF
monochromatic
#60561C #8F8129 #BFAC37 #D2C262 #DFD491

Accessibility & contrast

On white

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

On black

9.17
#BFAC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAC37
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAC37#FFFFFF#000000##000000
##BFAC371.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C2AE3E
Tritanopia (blue-blind)
#CE9F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfac37;
/* rgb */ color: rgb(191, 172, 55);
/* oklch */ color: oklch(74.0% 0.134 99.8);
Tailwind
colors: {
  custom: {
    50: '#d6c475',
    500: '#bfac37',
    950: '#000000',
  },
}
SCSS
$custom: #bfac37;
$custom-light: #d6c475;
$custom-dark: #000000;
JSON
{
  "hex": "#bfac37",
  "rgb": {
    "r": 191,
    "g": 172,
    "b": 55
  },
  "hsl": {
    "h": 51.618,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.13428,
    "h": 99.8
  },
  "luminance": 0.40857
}

Semantic roles & 50–950 ramp

primary
#BFAC37
secondary
#8891CA
accent
#5EDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFAC37

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

Preview Lab → · Contrast checker → · Palette generator →

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