#BFA72B#BFA72B

#BFA72B is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.138 H 97.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BFA72B
RGBrgb(191, 167, 43)
HSLhsl(50, 63%, 46%)
HSVhsv(50, 77%, 75%)
CMYKcmyk(0%, 12.6%, 77.5%, 25.1%)
CIE-LABlab(68.67, -4.06, 62.54)
CIE-LCHlch(68.67, 62.67, 93.72°)
OKLaboklab(72.86% -0.0181 0.1364)
OKLCHoklch(72.86% 0.138 97.6)
XYZxyz(35.7425, 38.8901, 7.9089)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72B #2B43BF
analogous
#BF5D2B #BFA72B #8DBF2B
triadic
#BFA72B #2BBFA7 #A72BBF
tetradic
#BFA72B #2BBF5D #2B43BF #BF2B8D
square
#BFA72B #2BBF5D #2B43BF #BF2B8D
split-complementary
#BFA72B #2B8DBF #5D2BBF
monochromatic
#5B5015 #8D7B20 #BFA72B #D8C150 #E3D382

Accessibility & contrast

On white

2.39
#BFA72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BFA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA72B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA72B#FFFFFF#000000##000000
##BFA72B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#CE9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa72b;
/* rgb */ color: rgb(191, 167, 43);
/* oklch */ color: oklch(72.9% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#d6c06f',
    500: '#bfa72b',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72b;
$custom-light: #d6c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72b",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 50.27,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72858,
    "c": 0.13759,
    "h": 97.6
  },
  "luminance": 0.38888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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