#BFA52A#BFA52A

#BFA52A is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.137 H 96.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BFA52A
RGBrgb(191, 165, 42)
HSLhsl(50, 64%, 46%)
HSVhsv(50, 78%, 75%)
CMYKcmyk(0%, 13.6%, 78%, 25.1%)
CIE-LABlab(68.14, -3.04, 62.38)
CIE-LCHlch(68.14, 62.46, 92.79°)
OKLaboklab(72.43% -0.0153 0.1359)
OKLCHoklch(72.43% 0.137 96.4)
XYZxyz(35.3608, 38.1557, 7.6923)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA52A #2A44BF
analogous
#BF5A2A #BFA52A #8EBF2A
triadic
#BFA52A #2ABFA5 #A52ABF
tetradic
#BFA52A #2ABF5A #2A44BF #BF2A8E
square
#BFA52A #2ABF5A #2A44BF #BF2A8E
split-complementary
#BFA52A #2A8EBF #5A2ABF
monochromatic
#5B4E14 #8D7A1F #BFA52A #D8C04E #E3D280

Accessibility & contrast

On white

2.43
#BFA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BFA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA52A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA52A#FFFFFF#000000##000000
##BFA52A1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#CF988E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bfa52a;
/* rgb */ color: rgb(191, 165, 42);
/* oklch */ color: oklch(72.4% 0.137 96.4);
Tailwind
colors: {
  custom: {
    50: '#d7bf6e',
    500: '#bfa52a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa52a;
$custom-light: #d7bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa52a",
  "rgb": {
    "r": 191,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 49.53,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72432,
    "c": 0.13671,
    "h": 96.4
  },
  "luminance": 0.38154
}

Semantic roles & 50–950 ramp

primary
#BFA52A
secondary
#7987CC
accent
#5EE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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