#BBC02A#BBC02A

#BBC02A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.160 H 111.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#BBC02A
RGBrgb(187, 192, 42)
HSLhsl(62, 64%, 46%)
HSVhsv(62, 78%, 75%)
CMYKcmyk(2.6%, 0%, 78.1%, 24.7%)
CIE-LABlab(75.10, -18.71, 68.53)
CIE-LCHlch(75.10, 71.04, 105.27°)
OKLaboklab(77.89% -0.059 0.1492)
OKLCHoklch(77.89% 0.16 111.6)
XYZxyz(39.7625, 48.4323, 9.4438)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC02A #2F2AC0
analogous
#C07A2A #BBC02A #70C02A
triadic
#BBC02A #2ABBC0 #C02ABB
tetradic
#BBC02A #2AC07A #2F2AC0 #C02A70
square
#BBC02A #2AC07A #2F2AC0 #C02A70
split-complementary
#BBC02A #2A70C0 #7A2AC0
monochromatic
#595C14 #8A8E1F #BBC02A #D4D84F #E0E381

Accessibility & contrast

On white

1.97
#BBC02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#BBC02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC02A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC02A#FFFFFF#000000##000000
##BBC02A1.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D0BB38
Tritanopia (blue-blind)
#C8B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bbc02a;
/* rgb */ color: rgb(187, 192, 42);
/* oklch */ color: oklch(77.9% 0.160 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d271',
    500: '#bbc02a',
    950: '#000000',
  },
}
SCSS
$custom: #bbc02a;
$custom-light: #d3d271;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc02a",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 62,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77891,
    "c": 0.16045,
    "h": 111.6
  },
  "luminance": 0.48431
}

Semantic roles & 50–950 ramp

primary
#BBC02A
secondary
#7C7ACC
accent
#41E746
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BBC02A

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

Preview Lab → · Contrast checker → · Palette generator →

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