#BFA82A#BFA82A

#BFA82A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.139 H 98.2°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BFA82A
RGBrgb(191, 168, 42)
HSLhsl(51, 64%, 46%)
HSVhsv(51, 78%, 75%)
CMYKcmyk(0%, 12%, 78%, 25.1%)
CIE-LABlab(68.93, -4.63, 63.11)
CIE-LCHlch(68.93, 63.28, 94.20°)
OKLaboklab(73.06% -0.0198 0.1374)
OKLCHoklch(73.06% 0.139 98.2)
XYZxyz(35.9083, 39.2507, 7.8748)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA82A #2A41BF
analogous
#BF5D2A #BFA82A #8BBF2A
triadic
#BFA82A #2ABFA8 #A82ABF
tetradic
#BFA82A #2ABF5D #2A41BF #BF2A8B
square
#BFA82A #2ABF5D #2A41BF #BF2A8B
split-complementary
#BFA82A #2A8BBF #5D2ABF
monochromatic
#5B5014 #8D7C1F #BFA82A #D8C34E #E3D480

Accessibility & contrast

On white

2.37
#BFA82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BFA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA82A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA82A#FFFFFF#000000##000000
##BFA82A1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A40B
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#CE9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa82a;
/* rgb */ color: rgb(191, 168, 42);
/* oklch */ color: oklch(73.1% 0.139 98.2);
Tailwind
colors: {
  custom: {
    50: '#d6c16e',
    500: '#bfa82a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa82a;
$custom-light: #d6c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa82a",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 50.738,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73063,
    "c": 0.13884,
    "h": 98.2
  },
  "luminance": 0.39249
}

Semantic roles & 50–950 ramp

primary
#BFA82A
secondary
#7986CC
accent
#5AE741
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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