#BFA42A#BFA42A

#BFA42A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.136 H 95.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BFA42A
RGBrgb(191, 164, 42)
HSLhsl(49, 64%, 46%)
HSVhsv(49, 78%, 75%)
CMYKcmyk(0%, 14.1%, 78%, 25.1%)
CIE-LABlab(67.87, -2.51, 62.14)
CIE-LCHlch(67.87, 62.19, 92.31°)
OKLaboklab(72.22% -0.0138 0.1353)
OKLCHoklch(72.22% 0.136 95.8)
XYZxyz(35.1811, 37.7964, 7.6324)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA42A #2A45BF
analogous
#BF5A2A #BFA42A #8FBF2A
triadic
#BFA42A #2ABFA4 #A42ABF
tetradic
#BFA42A #2ABF5A #2A45BF #BF2A8F
square
#BFA42A #2ABF5A #2A45BF #BF2A8F
split-complementary
#BFA42A #2A8FBF #5A2ABF
monochromatic
#5B4E14 #8D791F #BFA42A #D8BF4E #E3D180

Accessibility & contrast

On white

2.45
#BFA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#BFA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA42A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA42A#FFFFFF#000000##000000
##BFA42A1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00E
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa42a;
/* rgb */ color: rgb(191, 164, 42);
/* oklch */ color: oklch(72.2% 0.136 95.8);
Tailwind
colors: {
  custom: {
    50: '#d7be6e',
    500: '#bfa42a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa42a;
$custom-light: #d7be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa42a",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 49.128,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72222,
    "c": 0.13605,
    "h": 95.8
  },
  "luminance": 0.37794
}

Semantic roles & 50–950 ramp

primary
#BFA42A
secondary
#7988CC
accent
#5FE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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