#BBC02D#BBC02D

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

Color values

HEX#BBC02D
RGBrgb(187, 192, 45)
HSLhsl(62, 62%, 46%)
HSVhsv(62, 77%, 75%)
CMYKcmyk(2.6%, 0%, 76.6%, 24.7%)
CIE-LABlab(75.11, -18.59, 67.65)
CIE-LCHlch(75.11, 70.16, 105.37°)
OKLaboklab(77.91% -0.0585 0.1478)
OKLCHoklch(77.91% 0.159 111.6)
XYZxyz(39.8182, 48.4546, 9.7373)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC02D #322DC0
analogous
#C07C2D #BBC02D #72C02D
triadic
#BBC02D #2DBBC0 #C02DBB
tetradic
#BBC02D #2DC07C #322DC0 #C02D72
square
#BBC02D #2DC07C #322DC0 #C02D72
split-complementary
#BBC02D #2D72C0 #7C2DC0
monochromatic
#5A5D16 #8B8E21 #BBC02D #D2D753 #DFE285

Accessibility & contrast

On white

1.96
#BBC02D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC02D#FFFFFF#000000##000000
##BBC02D1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbc02d;
/* rgb */ color: rgb(187, 192, 45);
/* oklch */ color: oklch(77.9% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#d3d272',
    500: '#bbc02d',
    950: '#000000',
  },
}
SCSS
$custom: #bbc02d;
$custom-light: #d3d272;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc02d",
  "rgb": {
    "r": 187,
    "g": 192,
    "b": 45
  },
  "hsl": {
    "h": 62.041,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.77907,
    "c": 0.15899,
    "h": 111.6
  },
  "luminance": 0.48454
}

Semantic roles & 50–950 ramp

primary
#BBC02D
secondary
#807DCC
accent
#43E548
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BBC02D

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

Preview Lab → · Contrast checker → · Palette generator →

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