#BBCB48#BBCB48

#BBCB48 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.154 H 115.9°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#BBCB48
RGBrgb(187, 203, 72)
HSLhsl(67, 56%, 54%)
HSVhsv(67, 65%, 80%)
CMYKcmyk(7.9%, 0%, 64.5%, 20.4%)
CIE-LABlab(78.31, -22.62, 61.10)
CIE-LCHlch(78.31, 65.15, 110.32°)
OKLaboklab(80.53% -0.0672 0.1385)
OKLCHoklch(80.53% 0.154 115.9)
XYZxyz(43.0201, 53.7452, 14.2372)
Luminance0.5374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBCB48 #5848CB
analogous
#CB9A48 #BBCB48 #7ACB48
triadic
#BBCB48 #48BBCB #CB48BB
tetradic
#BBCB48 #48CB9A #5848CB #CB487A
square
#BBCB48 #48CB9A #5848CB #CB487A
split-complementary
#BBCB48 #487ACB #9A48CB
monochromatic
#6C7722 #98A62F #BBCB48 #CDD978 #DEE6A7

Accessibility & contrast

On white

1.79
#BBCB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#BBCB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBCB48
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBCB48#FFFFFF#000000##000000
##BBCB481.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C136
Deuteranopia (green-blind)
#D7C351
Tritanopia (blue-blind)
#C6C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bbcb48;
/* rgb */ color: rgb(187, 203, 72);
/* oklch */ color: oklch(80.5% 0.154 115.9);
Tailwind
colors: {
  custom: {
    50: '#d2da81',
    500: '#bbcb48',
    950: '#000000',
  },
}
SCSS
$custom: #bbcb48;
$custom-light: #d2da81;
$custom-dark: #000000;
JSON
{
  "hex": "#bbcb48",
  "rgb": {
    "r": 187,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 67.328,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80526,
    "c": 0.15394,
    "h": 115.9
  },
  "luminance": 0.53745
}

Semantic roles & 50–950 ramp

primary
#BBCB48
secondary
#41387F
accent
#49DF5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BBCB48

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

Preview Lab → · Contrast checker → · Palette generator →

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