#BBC157#BBC157

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

Color values

HEX#BBC157
RGBrgb(187, 193, 87)
HSLhsl(63, 46%, 55%)
HSVhsv(63, 55%, 76%)
CMYKcmyk(3.1%, 0%, 54.9%, 24.3%)
CIE-LABlab(75.70, -16.58, 51.74)
CIE-LCHlch(75.70, 54.33, 107.76°)
OKLaboklab(78.47% -0.0487 0.1205)
OKLCHoklch(78.47% 0.13 112)
XYZxyz(41.2847, 49.3937, 16.3741)
Luminance0.4939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBC157 #5D57C1
analogous
#C19257 #BBC157 #86C157
triadic
#BBC157 #57BBC1 #C157BB
tetradic
#BBC157 #57C192 #5D57C1 #C15786
square
#BBC157 #57C192 #5D57C1 #C15786
split-complementary
#BBC157 #5786C1 #9257C1
monochromatic
#6F732A #9AA03B #BBC157 #CDD184 #DFE2B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBC157#FFFFFF#000000##000000
##BBC1571.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)
#CEB94C
Deuteranopia (green-blind)
#CEBC5D
Tritanopia (blue-blind)
#C6B7AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bbc157;
/* rgb */ color: rgb(187, 193, 87);
/* oklch */ color: oklch(78.5% 0.130 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d38a',
    500: '#bbc157',
    950: '#000000',
  },
}
SCSS
$custom: #bbc157;
$custom-light: #d2d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbc157",
  "rgb": {
    "r": 187,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 63.396,
    "s": 46.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78474,
    "c": 0.12999,
    "h": 112
  },
  "luminance": 0.49393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBC157

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

Preview Lab → · Contrast checker → · Palette generator →

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