#BBC152#BBC152

#BBC152 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.4% C 0.134 H 112.0°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BBC152
RGBrgb(187, 193, 82)
HSLhsl(63, 47%, 54%)
HSVhsv(63, 58%, 76%)
CMYKcmyk(3.1%, 0%, 57.5%, 24.3%)
CIE-LABlab(75.65, -16.97, 53.95)
CIE-LCHlch(75.65, 56.56, 107.46°)
OKLaboklab(78.42% -0.0503 0.1247)
OKLCHoklch(78.42% 0.134 112)
XYZxyz(41.0875, 49.3148, 15.3353)
Luminance0.4931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC152 #5852C1
analogous
#C19052 #BBC152 #84C152
triadic
#BBC152 #52BBC1 #C152BB
tetradic
#BBC152 #52C190 #5852C1 #C15284
square
#BBC152 #52C190 #5852C1 #C15284
split-complementary
#BBC152 #5284C1 #9052C1
monochromatic
#6C7028 #989D38 #BBC152 #CDD17F #DEE1AC

Accessibility & contrast

On white

1.93
#BBC152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#BBC152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC152
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC152#FFFFFF#000000##000000
##BBC1521.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#C6B6A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc152;
/* rgb */ color: rgb(187, 193, 82);
/* oklch */ color: oklch(78.4% 0.134 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d387',
    500: '#bbc152',
    950: '#000000',
  },
}
SCSS
$custom: #bbc152;
$custom-light: #d2d387;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc152",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 63.243,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78419,
    "c": 0.13446,
    "h": 112
  },
  "luminance": 0.49314
}

Semantic roles & 50–950 ramp

primary
#BBC152
secondary
#A2A0CF
accent
#51D758
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #BBC152

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

Preview Lab → · Contrast checker → · Palette generator →

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