#BFA832#BFA832

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

Color values

HEX#BFA832
RGBrgb(191, 168, 50)
HSLhsl(50, 59%, 47%)
HSVhsv(50, 74%, 75%)
CMYKcmyk(0%, 12%, 73.8%, 25.1%)
CIE-LABlab(68.98, -4.30, 60.35)
CIE-LCHlch(68.98, 60.51, 94.08°)
OKLaboklab(73.11% -0.0181 0.1331)
OKLCHoklch(73.11% 0.134 97.8)
XYZxyz(36.0660, 39.3138, 8.7056)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA832 #3249BF
analogous
#BF6232 #BFA832 #8FBF32
triadic
#BFA832 #32BFA8 #A832BF
tetradic
#BFA832 #32BF62 #3249BF #BF328F
square
#BFA832 #32BF62 #3249BF #BF328F
split-complementary
#BFA832 #328FBF #6232BF
monochromatic
#5E5319 #8E7D25 #BFA832 #D4C05A #E1D38B

Accessibility & contrast

On white

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

On black

8.86
#BFA832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA832
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA832#FFFFFF#000000##000000
##BFA8321.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41E
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa832;
/* rgb */ color: rgb(191, 168, 50);
/* oklch */ color: oklch(73.1% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#d6c172',
    500: '#bfa832',
    950: '#000000',
  },
}
SCSS
$custom: #bfa832;
$custom-light: #d6c172;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa832",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 50.213,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73114,
    "c": 0.13434,
    "h": 97.8
  },
  "luminance": 0.39312
}

Semantic roles & 50–950 ramp

primary
#BFA832
secondary
#828ECB
accent
#5FE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA832

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

Preview Lab → · Contrast checker → · Palette generator →

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