#BBCB51#BBCB51

#BBCB51 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.147 H 116.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#BBCB51
RGBrgb(187, 203, 81)
HSLhsl(68, 54%, 56%)
HSVhsv(68, 60%, 80%)
CMYKcmyk(7.9%, 0%, 60.1%, 20.4%)
CIE-LABlab(78.39, -22.01, 57.42)
CIE-LCHlch(78.39, 61.49, 110.97°)
OKLaboklab(80.61% -0.0646 0.1319)
OKLCHoklch(80.61% 0.147 116.1)
XYZxyz(43.3355, 53.8713, 15.8983)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCB51 #6151CB
analogous
#CB9E51 #BBCB51 #7ECB51
triadic
#BBCB51 #51BBCB #CB51BB
tetradic
#BBCB51 #51CB9E #6151CB #CB517E
square
#BBCB51 #51CB9E #6151CB #CB517E
split-complementary
#BBCB51 #517ECB #9E51CB
monochromatic
#717C25 #9CAC33 #BBCB51 #CDD980 #E0E7AF

Accessibility & contrast

On white

1.78
#BBCB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#BBCB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCB51
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCB51#FFFFFF#000000##000000
##BBCB511.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#C6C0B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bbcb51;
/* rgb */ color: rgb(187, 203, 81);
/* oklch */ color: oklch(80.6% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da87',
    500: '#bbcb51',
    950: '#000000',
  },
}
SCSS
$custom: #bbcb51;
$custom-light: #d2da87;
$custom-dark: #000000;
JSON
{
  "hex": "#bbcb51",
  "rgb": {
    "r": 187,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 67.869,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80609,
    "c": 0.14691,
    "h": 116.1
  },
  "luminance": 0.53871
}

Semantic roles & 50–950 ramp

primary
#BBCB51
secondary
#453C84
accent
#4ADD5E
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #BBCB51

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

Preview Lab → · Contrast checker → · Palette generator →

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