#BFA62A#BFA62A

#BFA62A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.137 H 97.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BFA62A
RGBrgb(191, 166, 42)
HSLhsl(50, 64%, 46%)
HSVhsv(50, 78%, 75%)
CMYKcmyk(0%, 13.1%, 78%, 25.1%)
CIE-LABlab(68.40, -3.57, 62.62)
CIE-LCHlch(68.40, 62.73, 93.27°)
OKLaboklab(72.64% -0.0168 0.1364)
OKLCHoklch(72.64% 0.137 97)
XYZxyz(35.5419, 38.5179, 7.7527)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA62A #2A43BF
analogous
#BF5B2A #BFA62A #8DBF2A
triadic
#BFA62A #2ABFA6 #A62ABF
tetradic
#BFA62A #2ABF5B #2A43BF #BF2A8D
square
#BFA62A #2ABF5B #2A43BF #BF2A8D
split-complementary
#BFA62A #2A8DBF #5B2ABF
monochromatic
#5B4F14 #8D7A1F #BFA62A #D8C14E #E3D380

Accessibility & contrast

On white

2.41
#BFA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BFA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA62A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA62A#FFFFFF#000000##000000
##BFA62A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#CF998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa62a;
/* rgb */ color: rgb(191, 166, 42);
/* oklch */ color: oklch(72.6% 0.137 97.0);
Tailwind
colors: {
  custom: {
    50: '#d7c06e',
    500: '#bfa62a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa62a;
$custom-light: #d7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa62a",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 49.933,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72642,
    "c": 0.13741,
    "h": 97
  },
  "luminance": 0.38516
}

Semantic roles & 50–950 ramp

primary
#BFA62A
secondary
#7987CC
accent
#5DE741
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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