#BBB33A#BBB33A

#BBB33A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.139 H 105.5°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#BBB33A
RGBrgb(187, 179, 58)
HSLhsl(56, 53%, 48%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.3%, 69%, 26.7%)
CIE-LABlab(71.63, -11.39, 59.80)
CIE-LCHlch(71.63, 60.87, 100.79°)
OKLaboklab(75.15% -0.0371 0.1335)
OKLCHoklch(75.15% 0.139 105.5)
XYZxyz(37.3788, 43.1118, 10.3546)
Luminance0.4311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB33A #3A42BB
analogous
#BB723A #BBB33A #82BB3A
triadic
#BBB33A #3ABBB3 #B33ABB
tetradic
#BBB33A #3ABB72 #3A42BB #BB3A82
square
#BBB33A #3ABB72 #3A42BB #BB3A82
split-complementary
#BBB33A #3A82BB #723ABB
monochromatic
#5E5A1D #8C862C #BBB33A #CFC863 #DDD992

Accessibility & contrast

On white

2.18
#BBB33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#BBB33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB33A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB33A#FFFFFF#000000##000000
##BBB33A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD28
Deuteranopia (green-blind)
#C5B242
Tritanopia (blue-blind)
#C9A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb33a;
/* rgb */ color: rgb(187, 179, 58);
/* oklch */ color: oklch(75.2% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#d3c977',
    500: '#bbb33a',
    950: '#000000',
  },
}
SCSS
$custom: #bbb33a;
$custom-light: #d3c977;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb33a",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 56.279,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75152,
    "c": 0.13861,
    "h": 105.5
  },
  "luminance": 0.4311
}

Semantic roles & 50–950 ramp

primary
#BBB33A
secondary
#888CC8
accent
#55DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB33A

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

Preview Lab → · Contrast checker → · Palette generator →

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