#BBC52B#BBC52B

#BBC52B is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.165 H 113.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#BBC52B
RGBrgb(187, 197, 43)
HSLhsl(64, 64%, 47%)
HSVhsv(64, 78%, 77%)
CMYKcmyk(5.1%, 0%, 78.2%, 22.7%)
CIE-LABlab(76.48, -21.15, 69.48)
CIE-LCHlch(76.48, 72.63, 106.93°)
OKLaboklab(79% -0.0657 0.1514)
OKLCHoklch(79% 0.165 113.5)
XYZxyz(40.8971, 50.6726, 9.9114)
Luminance0.5067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC52B #352BC5
analogous
#C5822B #BBC52B #6EC52B
triadic
#BBC52B #2BBBC5 #C52BBB
tetradic
#BBC52B #2BC582 #352BC5 #C52B6E
square
#BBC52B #2BC582 #352BC5 #C52B6E
split-complementary
#BBC52B #2B6EC5 #822BC5
monochromatic
#5C6115 #8B9320 #BBC52B #D1DA54 #DEE586

Accessibility & contrast

On white

1.89
#BBC52B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#BBC52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC52B
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC52B#FFFFFF#000000##000000
##BBC52B1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#C8B9A9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bbc52b;
/* rgb */ color: rgb(187, 197, 43);
/* oklch */ color: oklch(79.0% 0.165 113.5);
Tailwind
colors: {
  custom: {
    50: '#d3d672',
    500: '#bbc52b',
    950: '#000000',
  },
}
SCSS
$custom: #bbc52b;
$custom-light: #d3d672;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc52b",
  "rgb": {
    "r": 187,
    "g": 197,
    "b": 43
  },
  "hsl": {
    "h": 63.896,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.79001,
    "c": 0.16504,
    "h": 113.5
  },
  "luminance": 0.50672
}

Semantic roles & 50–950 ramp

primary
#BBC52B
secondary
#2D296B
accent
#41E74B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC52B

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

Preview Lab → · Contrast checker → · Palette generator →

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