#BFA82B#BFA82B

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

Color values

HEX#BFA82B
RGBrgb(191, 168, 43)
HSLhsl(51, 63%, 46%)
HSVhsv(51, 77%, 75%)
CMYKcmyk(0%, 12%, 77.5%, 25.1%)
CIE-LABlab(68.94, -4.59, 62.78)
CIE-LCHlch(68.94, 62.95, 94.19°)
OKLaboklab(73.07% -0.0196 0.1369)
OKLCHoklch(73.07% 0.138 98.2)
XYZxyz(35.9264, 39.2579, 7.9702)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA82B #2B42BF
analogous
#BF5E2B #BFA82B #8CBF2B
triadic
#BFA82B #2BBFA8 #A82BBF
tetradic
#BFA82B #2BBF5E #2B42BF #BF2B8C
square
#BFA82B #2BBF5E #2B42BF #BF2B8C
split-complementary
#BFA82B #2B8CBF #5E2BBF
monochromatic
#5B5015 #8D7C20 #BFA82B #D8C250 #E3D482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA82B#FFFFFF#000000##000000
##BFA82B1.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)
#B9A40E
Deuteranopia (green-blind)
#BFAC34
Tritanopia (blue-blind)
#CE9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa82b;
/* rgb */ color: rgb(191, 168, 43);
/* oklch */ color: oklch(73.1% 0.138 98.2);
Tailwind
colors: {
  custom: {
    50: '#d6c16f',
    500: '#bfa82b',
    950: '#000000',
  },
}
SCSS
$custom: #bfa82b;
$custom-light: #d6c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa82b",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 50.676,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73069,
    "c": 0.13831,
    "h": 98.2
  },
  "luminance": 0.39256
}

Semantic roles & 50–950 ramp

primary
#BFA82B
secondary
#7A87CC
accent
#5BE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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