#BBC158#BBC158

#BBC158 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.5% C 0.129 H 112.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#BBC158
RGBrgb(187, 193, 88)
HSLhsl(63, 46%, 55%)
HSVhsv(63, 54%, 76%)
CMYKcmyk(3.1%, 0%, 54.4%, 24.3%)
CIE-LABlab(75.71, -16.49, 51.29)
CIE-LCHlch(75.71, 53.88, 107.83°)
OKLaboklab(78.49% -0.0483 0.1197)
OKLCHoklch(78.49% 0.129 112)
XYZxyz(41.3259, 49.4101, 16.5908)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC158 #5E58C1
analogous
#C19358 #BBC158 #86C158
triadic
#BBC158 #58BBC1 #C158BB
tetradic
#BBC158 #58C193 #5E58C1 #C15886
square
#BBC158 #58C193 #5E58C1 #C15886
split-complementary
#BBC158 #5886C1 #9358C1
monochromatic
#70742B #9BA03C #BBC158 #CDD285 #DFE2B1

Accessibility & contrast

On white

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

On black

10.88
#BBC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBC158
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBC158#FFFFFF#000000##000000
##BBC1581.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB94D
Deuteranopia (green-blind)
#CEBC5E
Tritanopia (blue-blind)
#C6B7AA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bbc158;
/* rgb */ color: rgb(187, 193, 88);
/* oklch */ color: oklch(78.5% 0.129 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d38a',
    500: '#bbc158',
    950: '#000000',
  },
}
SCSS
$custom: #bbc158;
$custom-light: #d2d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc158",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 63.429,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78485,
    "c": 0.12906,
    "h": 112
  },
  "luminance": 0.49409
}

Semantic roles & 50–950 ramp

primary
#BBC158
secondary
#A7A4D0
accent
#52D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140C
muted
#83827D

Preview Lab

Preview with #BBC158

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

Preview Lab → · Contrast checker → · Palette generator →

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