#BFB72C#BFB72C

#BFB72C is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.3% C 0.150 H 106.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#BFB72C
RGBrgb(191, 183, 44)
HSLhsl(57, 63%, 46%)
HSVhsv(57, 77%, 75%)
CMYKcmyk(0%, 4.2%, 77%, 25.1%)
CIE-LABlab(72.98, -12.36, 66.14)
CIE-LCHlch(72.98, 67.29, 100.59°)
OKLaboklab(76.28% -0.0414 0.1443)
OKLCHoklch(76.28% 0.15 106)
XYZxyz(38.8756, 45.1267, 9.0449)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB72C #2C34BF
analogous
#BF6D2C #BFB72C #7DBF2C
triadic
#BFB72C #2CBFB7 #B72CBF
tetradic
#BFB72C #2CBF6D #2C34BF #BF2C7D
square
#BFB72C #2CBF6D #2C34BF #BF2C7D
split-complementary
#BFB72C #2C7DBF #6D2CBF
monochromatic
#5C5815 #8D8721 #BFB72C #D7D051 #E2DD83

Accessibility & contrast

On white

2.09
#BFB72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#BFB72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB72C
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB72C#FFFFFF#000000##000000
##BFB72C1.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B006
Deuteranopia (green-blind)
#CAB637
Tritanopia (blue-blind)
#CDAA9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bfb72c;
/* rgb */ color: rgb(191, 183, 44);
/* oklch */ color: oklch(76.3% 0.150 106.0);
Tailwind
colors: {
  custom: {
    50: '#d6cc71',
    500: '#bfb72c',
    950: '#000000',
  },
}
SCSS
$custom: #bfb72c;
$custom-light: #d6cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb72c",
  "rgb": {
    "r": 191,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 56.735,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76279,
    "c": 0.15011,
    "h": 106
  },
  "luminance": 0.45125
}

Semantic roles & 50–950 ramp

primary
#BFB72C
secondary
#7B80CC
accent
#4BE642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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