#BBC42A#BBC42A

#BBC42A is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.164 H 113.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#BBC42A
RGBrgb(187, 196, 42)
HSLhsl(64, 65%, 47%)
HSVhsv(64, 79%, 77%)
CMYKcmyk(4.6%, 0%, 78.6%, 23.1%)
CIE-LABlab(76.20, -20.69, 69.52)
CIE-LCHlch(76.20, 72.53, 106.58°)
OKLaboklab(78.77% -0.0645 0.1513)
OKLCHoklch(78.77% 0.164 113.1)
XYZxyz(40.6527, 50.2127, 9.7406)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC42A #332AC4
analogous
#C4802A #BBC42A #6EC42A
triadic
#BBC42A #2ABBC4 #C42ABB
tetradic
#BBC42A #2AC480 #332AC4 #C42A6E
square
#BBC42A #2AC480 #332AC4 #C42A6E
split-complementary
#BBC42A #2A6EC4 #802AC4
monochromatic
#5B5F14 #8B921F #BBC42A #D2DA51 #DFE584

Accessibility & contrast

On white

1.90
#BBC42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#BBC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC42A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC42A#FFFFFF#000000##000000
##BBC42A1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#D3BD39
Tritanopia (blue-blind)
#C8B8A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bbc42a;
/* rgb */ color: rgb(187, 196, 42);
/* oklch */ color: oklch(78.8% 0.164 113.1);
Tailwind
colors: {
  custom: {
    50: '#d3d572',
    500: '#bbc42a',
    950: '#000000',
  },
}
SCSS
$custom: #bbc42a;
$custom-light: #d3d572;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc42a",
  "rgb": {
    "r": 187,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 63.506,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78774,
    "c": 0.16449,
    "h": 113.1
  },
  "luminance": 0.50212
}

Semantic roles & 50–950 ramp

primary
#BBC42A
secondary
#2C286A
accent
#40E84A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BBC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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