#BFA72A#BFA72A

#BFA72A 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#BFA72A
RGBrgb(191, 167, 42)
HSLhsl(50, 64%, 46%)
HSVhsv(50, 78%, 75%)
CMYKcmyk(0%, 12.6%, 78%, 25.1%)
CIE-LABlab(68.67, -4.10, 62.87)
CIE-LCHlch(68.67, 63.00, 93.73°)
OKLaboklab(72.85% -0.0184 0.1369)
OKLCHoklch(72.85% 0.138 97.6)
XYZxyz(35.7244, 38.8829, 7.8135)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72A #2A42BF
analogous
#BF5D2A #BFA72A #8CBF2A
triadic
#BFA72A #2ABFA7 #A72ABF
tetradic
#BFA72A #2ABF5D #2A42BF #BF2A8C
square
#BFA72A #2ABF5D #2A42BF #BF2A8C
split-complementary
#BFA72A #2A8CBF #5D2ABF
monochromatic
#5B4F14 #8D7B1F #BFA72A #D8C24E #E3D380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA72A#FFFFFF#000000##000000
##BFA72A1.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)
#B8A30C
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#CE9A8F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa72a;
/* rgb */ color: rgb(191, 167, 42);
/* oklch */ color: oklch(72.9% 0.138 97.6);
Tailwind
colors: {
  custom: {
    50: '#d7c06e',
    500: '#bfa72a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72a;
$custom-light: #d7c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72a",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 50.336,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72852,
    "c": 0.13811,
    "h": 97.6
  },
  "luminance": 0.38881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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