#BFB52C#BFB52C

#BFB52C is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.148 H 105.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#BFB52C
RGBrgb(191, 181, 44)
HSLhsl(56, 63%, 46%)
HSVhsv(56, 77%, 75%)
CMYKcmyk(0%, 5.2%, 77%, 25.1%)
CIE-LABlab(72.43, -11.34, 65.65)
CIE-LCHlch(72.43, 66.62, 99.80°)
OKLaboklab(75.85% -0.0385 0.1432)
OKLCHoklch(75.85% 0.148 105.1)
XYZxyz(38.4660, 44.3075, 8.9084)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB52C #2C36BF
analogous
#BF6B2C #BFB52C #7FBF2C
triadic
#BFB52C #2CBFB5 #B52CBF
tetradic
#BFB52C #2CBF6B #2C36BF #BF2C7F
square
#BFB52C #2CBF6B #2C36BF #BF2C7F
split-complementary
#BFB52C #2C7FBF #6B2CBF
monochromatic
#5C5715 #8D8621 #BFB52C #D7CE51 #E2DC83

Accessibility & contrast

On white

2.13
#BFB52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#BFB52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB52C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB52C#FFFFFF#000000##000000
##BFB52C1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE07
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#CEA89B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb52c;
/* rgb */ color: rgb(191, 181, 44);
/* oklch */ color: oklch(75.8% 0.148 105.1);
Tailwind
colors: {
  custom: {
    50: '#d6ca71',
    500: '#bfb52c',
    950: '#000000',
  },
}
SCSS
$custom: #bfb52c;
$custom-light: #d6ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb52c",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 55.918,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75848,
    "c": 0.14832,
    "h": 105.1
  },
  "luminance": 0.44306
}

Semantic roles & 50–950 ramp

primary
#BFB52C
secondary
#7B81CC
accent
#4DE642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BFB52C

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

Preview Lab → · Contrast checker → · Palette generator →

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