#BBB54B#BBB54B

#BBB54B is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.128 H 106.0°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BBB54B
RGBrgb(187, 181, 75)
HSLhsl(57, 45%, 51%)
HSVhsv(57, 60%, 73%)
CMYKcmyk(0%, 3.2%, 59.9%, 26.7%)
CIE-LABlab(72.31, -11.37, 53.39)
CIE-LCHlch(72.31, 54.59, 102.03°)
OKLaboklab(75.74% -0.0352 0.1226)
OKLCHoklch(75.74% 0.128 106)
XYZxyz(38.2886, 44.1218, 13.1547)
Luminance0.4412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB54B #4B51BB
analogous
#BB7D4B #BBB54B #89BB4B
triadic
#BBB54B #4BBBB5 #B54BBB
tetradic
#BBB54B #4BBB7D #4B51BB #BB4B89
square
#BBB54B #4BBB7D #4B51BB #BB4B89
split-complementary
#BBB54B #4B89BB #7D4BBB
monochromatic
#656226 #928D37 #BBB54B #CCC777 #DDDAA4

Accessibility & contrast

On white

2.14
#BBB54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BBB54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB54B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB54B#FFFFFF#000000##000000
##BBB54B1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF3F
Deuteranopia (green-blind)
#C6B351
Tritanopia (blue-blind)
#C8AA9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb54b;
/* rgb */ color: rgb(187, 181, 75);
/* oklch */ color: oklch(75.7% 0.128 106.0);
Tailwind
colors: {
  custom: {
    50: '#d2ca81',
    500: '#bbb54b',
    950: '#000000',
  },
}
SCSS
$custom: #bbb54b;
$custom-light: #d2ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb54b",
  "rgb": {
    "r": 187,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 56.786,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75737,
    "c": 0.12755,
    "h": 106
  },
  "luminance": 0.44121
}

Semantic roles & 50–950 ramp

primary
#BBB54B
secondary
#989BCA
accent
#5AD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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