#BBCC2B#BBCC2B

#BBCC2B is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.172 H 115.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#BBCC2B
RGBrgb(187, 204, 43)
HSLhsl(66, 65%, 48%)
HSVhsv(66, 79%, 80%)
CMYKcmyk(8.3%, 0%, 78.9%, 20%)
CIE-LABlab(78.42, -24.56, 71.21)
CIE-LCHlch(78.42, 75.33, 109.03°)
OKLaboklab(80.56% -0.0752 0.1551)
OKLCHoklch(80.56% 0.172 115.9)
XYZxyz(42.5236, 53.9256, 10.4536)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCC2B #3C2BCC
analogous
#CC8C2B #BBCC2B #6BCC2B
triadic
#BBCC2B #2BBBCC #CC2BBB
tetradic
#BBCC2B #2BCC8C #3C2BCC #CC2B6B
square
#BBCC2B #2BCC8C #3C2BCC #CC2B6B
split-complementary
#BBCC2B #2B6BCC #8C2BCC
monochromatic
#5E6716 #8D9920 #BBCC2B #CEDC58 #DDE78B

Accessibility & contrast

On white

1.78
#BBCC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#BBCC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCC2B
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCC2B#FFFFFF#000000##000000
##BBCC2B1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#D9C33B
Tritanopia (blue-blind)
#C7C0AF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bbcc2b;
/* rgb */ color: rgb(187, 204, 43);
/* oklch */ color: oklch(80.6% 0.172 115.9);
Tailwind
colors: {
  custom: {
    50: '#d3db73',
    500: '#bbcc2b',
    950: '#000000',
  },
}
SCSS
$custom: #bbcc2b;
$custom-light: #d3db73;
$custom-dark: #000000;
JSON
{
  "hex": "#bbcc2b",
  "rgb": {
    "r": 187,
    "g": 204,
    "b": 43
  },
  "hsl": {
    "h": 66.335,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80556,
    "c": 0.17234,
    "h": 115.9
  },
  "luminance": 0.53925
}

Semantic roles & 50–950 ramp

primary
#BBCC2B
secondary
#322A71
accent
#40E851
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151509
muted
#84847D

Preview Lab

Preview with #BBCC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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