#BBC52A#BBC52A

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

Color values

HEX#BBC52A
RGBrgb(187, 197, 42)
HSLhsl(64, 65%, 47%)
HSVhsv(64, 79%, 77%)
CMYKcmyk(5.1%, 0%, 78.7%, 22.7%)
CIE-LABlab(76.48, -21.18, 69.76)
CIE-LCHlch(76.48, 72.91, 106.89°)
OKLaboklab(79% -0.0659 0.1518)
OKLCHoklch(79% 0.166 113.5)
XYZxyz(40.8790, 50.6654, 9.8160)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC52A #342AC5
analogous
#C5822A #BBC52A #6EC52A
triadic
#BBC52A #2ABBC5 #C52ABB
tetradic
#BBC52A #2AC582 #342AC5 #C52A6E
square
#BBC52A #2AC582 #342AC5 #C52A6E
split-complementary
#BBC52A #2A6EC5 #822AC5
monochromatic
#5B6014 #8B931F #BBC52A #D1DA52 #DFE585

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC52A#FFFFFF#000000##000000
##BBC52A1.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: #bbc52a;
/* rgb */ color: rgb(187, 197, 42);
/* oklch */ color: oklch(79.0% 0.166 113.5);
Tailwind
colors: {
  custom: {
    50: '#d3d672',
    500: '#bbc52a',
    950: '#000000',
  },
}
SCSS
$custom: #bbc52a;
$custom-light: #d3d672;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc52a",
  "rgb": {
    "r": 187,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 63.871,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78996,
    "c": 0.16551,
    "h": 113.5
  },
  "luminance": 0.50664
}

Semantic roles & 50–950 ramp

primary
#BBC52A
secondary
#2C286B
accent
#40E84B
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC52A

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

Preview Lab → · Contrast checker → · Palette generator →

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