#BBB33B#BBB33B

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

Color values

HEX#BBB33B
RGBrgb(187, 179, 59)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 68%, 73%)
CMYKcmyk(0%, 4.3%, 68.4%, 26.7%)
CIE-LABlab(71.64, -11.34, 59.41)
CIE-LCHlch(71.64, 60.49, 100.81°)
OKLaboklab(75.16% -0.0369 0.1329)
OKLCHoklch(75.16% 0.138 105.5)
XYZxyz(37.4045, 43.1221, 10.4899)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB33B #3B43BB
analogous
#BB733B #BBB33B #83BB3B
triadic
#BBB33B #3BBBB3 #B33BBB
tetradic
#BBB33B #3BBB73 #3B43BB #BB3B83
square
#BBB33B #3BBB73 #3B43BB #BB3B83
split-complementary
#BBB33B #3B83BB #733BBB
monochromatic
#5E5A1E #8C862C #BBB33B #CEC865 #DDD893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBB33B#FFFFFF#000000##000000
##BBB33B1.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)
#C2AD29
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#C9A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbb33b;
/* rgb */ color: rgb(187, 179, 59);
/* oklch */ color: oklch(75.2% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#d3c978',
    500: '#bbb33b',
    950: '#000000',
  },
}
SCSS
$custom: #bbb33b;
$custom-light: #d3c978;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb33b",
  "rgb": {
    "r": 187,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 56.25,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.13792,
    "h": 105.5
  },
  "luminance": 0.43121
}

Semantic roles & 50–950 ramp

primary
#BBB33B
secondary
#8A8DC8
accent
#55DB4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BBB33B

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

Preview Lab → · Contrast checker → · Palette generator →

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