#BFA72C#BFA72C

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

Color values

HEX#BFA72C
RGBrgb(191, 167, 44)
HSLhsl(50, 63%, 46%)
HSVhsv(50, 77%, 75%)
CMYKcmyk(0%, 12.6%, 77%, 25.1%)
CIE-LABlab(68.68, -4.03, 62.20)
CIE-LCHlch(68.68, 62.33, 93.70°)
OKLaboklab(72.86% -0.0179 0.1359)
OKLCHoklch(72.86% 0.137 97.5)
XYZxyz(35.7611, 38.8975, 8.0067)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72C #2C44BF
analogous
#BF5D2C #BFA72C #8DBF2C
triadic
#BFA72C #2CBFA7 #A72CBF
tetradic
#BFA72C #2CBF5D #2C44BF #BF2C8D
square
#BFA72C #2CBF5D #2C44BF #BF2C8D
split-complementary
#BFA72C #2C8DBF #5D2CBF
monochromatic
#5C5015 #8D7C21 #BFA72C #D7C151 #E2D383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA72C#FFFFFF#000000##000000
##BFA72C1.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)
#B8A312
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#CE9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa72c;
/* rgb */ color: rgb(191, 167, 44);
/* oklch */ color: oklch(72.9% 0.137 97.5);
Tailwind
colors: {
  custom: {
    50: '#d6c06f',
    500: '#bfa72c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72c;
$custom-light: #d6c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72c",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 50.204,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.13706,
    "h": 97.5
  },
  "luminance": 0.38896
}

Semantic roles & 50–950 ramp

primary
#BFA72C
secondary
#7B88CC
accent
#5DE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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