#BFB52B#BFB52B

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

Color values

HEX#BFB52B
RGBrgb(191, 181, 43)
HSLhsl(56, 63%, 46%)
HSVhsv(56, 77%, 75%)
CMYKcmyk(0%, 5.2%, 77.5%, 25.1%)
CIE-LABlab(72.43, -11.38, 65.96)
CIE-LCHlch(72.43, 66.93, 99.79°)
OKLaboklab(75.84% -0.0387 0.1437)
OKLCHoklch(75.84% 0.149 105.1)
XYZxyz(38.4475, 44.3001, 8.8106)
Luminance0.4430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB52B #2B35BF
analogous
#BF6B2B #BFB52B #7FBF2B
triadic
#BFB52B #2BBFB5 #B52BBF
tetradic
#BFB52B #2BBF6B #2B35BF #BF2B7F
square
#BFB52B #2BBF6B #2B35BF #BF2B7F
split-complementary
#BFB52B #2B7FBF #6B2BBF
monochromatic
#5B5615 #8D8620 #BFB52B #D8CE50 #E3DC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFB52B#FFFFFF#000000##000000
##BFB52B1.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)
#C5AE04
Deuteranopia (green-blind)
#C9B436
Tritanopia (blue-blind)
#CEA89B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bfb52b;
/* rgb */ color: rgb(191, 181, 43);
/* oklch */ color: oklch(75.8% 0.149 105.1);
Tailwind
colors: {
  custom: {
    50: '#d6ca70',
    500: '#bfb52b',
    950: '#000000',
  },
}
SCSS
$custom: #bfb52b;
$custom-light: #d6ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb52b",
  "rgb": {
    "r": 191,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 55.946,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75842,
    "c": 0.14883,
    "h": 105.1
  },
  "luminance": 0.44299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFB52B

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

Preview Lab → · Contrast checker → · Palette generator →

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