#BBB51E#BBB51E

#BBB51E is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.4% C 0.155 H 107.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#BBB51E
RGBrgb(187, 181, 30)
HSLhsl(58, 72%, 43%)
HSVhsv(58, 84%, 73%)
CMYKcmyk(0%, 3.2%, 84%, 26.7%)
CIE-LABlab(72.03, -13.54, 69.07)
CIE-LCHlch(72.03, 70.38, 101.09°)
OKLaboklab(75.43% -0.0455 0.1482)
OKLCHoklch(75.43% 0.155 107.1)
XYZxyz(37.2534, 43.7077, 7.7021)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB51E #1E24BB
analogous
#BB661E #BBB51E #72BB1E
triadic
#BBB51E #1EBBB5 #B51EBB
tetradic
#BBB51E #1EBB66 #1E24BB #BB1E72
square
#BBB51E #1EBB66 #1E24BB #BB1E72
split-complementary
#BBB51E #1E72BB #661EBB
monochromatic
#524F0D #868216 #BBB51E #DFD937 #E7E36C

Accessibility & contrast

On white

2.16
#BBB51E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#BBB51E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB51E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB51E#FFFFFF#000000##000000
##BBB51E1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C8B32D
Tritanopia (blue-blind)
#C9A89B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb51e;
/* rgb */ color: rgb(187, 181, 30);
/* oklch */ color: oklch(75.4% 0.155 107.1);
Tailwind
colors: {
  custom: {
    50: '#d4ca6b',
    500: '#bbb51e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb51e;
$custom-light: #d4ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb51e",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 30
  },
  "hsl": {
    "h": 57.707,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.75427,
    "c": 0.15504,
    "h": 107.1
  },
  "luminance": 0.43706
}

Semantic roles & 50–950 ramp

primary
#BBB51E
secondary
#676BCD
accent
#40EF39
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Preview Lab

Preview with #BBB51E

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

Preview Lab → · Contrast checker → · Palette generator →

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