#BBC42B#BBC42B

#BBC42B 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#BBC42B
RGBrgb(187, 196, 43)
HSLhsl(64, 64%, 47%)
HSVhsv(64, 78%, 77%)
CMYKcmyk(4.6%, 0%, 78.1%, 23.1%)
CIE-LABlab(76.20, -20.65, 69.23)
CIE-LCHlch(76.20, 72.25, 106.61°)
OKLaboklab(78.78% -0.0644 0.1509)
OKLCHoklch(78.78% 0.164 113.1)
XYZxyz(40.6708, 50.2200, 9.8360)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC42B #342BC4
analogous
#C4802B #BBC42B #6FC42B
triadic
#BBC42B #2BBBC4 #C42BBB
tetradic
#BBC42B #2BC480 #342BC4 #C42B6F
square
#BBC42B #2BC480 #342BC4 #C42B6F
split-complementary
#BBC42B #2B6FC4 #802BC4
monochromatic
#5B6015 #8B9220 #BBC42B #D1D953 #DFE485

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC42B#FFFFFF#000000##000000
##BBC42B1.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: #bbc42b;
/* rgb */ color: rgb(187, 196, 43);
/* oklch */ color: oklch(78.8% 0.164 113.1);
Tailwind
colors: {
  custom: {
    50: '#d3d572',
    500: '#bbc42b',
    950: '#000000',
  },
}
SCSS
$custom: #bbc42b;
$custom-light: #d3d572;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc42b",
  "rgb": {
    "r": 187,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 63.529,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78779,
    "c": 0.16403,
    "h": 113.1
  },
  "luminance": 0.50219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBC42B

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

Preview Lab → · Contrast checker → · Palette generator →

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