#B5CC98#B5CC98

#B5CC98 is a light, moderate yellow-green. Relative luminance 0.553; OKLCH L 81.5% C 0.075 H 127.4°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#B5CC98
RGBrgb(181, 204, 152)
HSLhsl(87, 34%, 70%)
HSVhsv(87, 25%, 80%)
CMYKcmyk(11.3%, 0%, 25.5%, 20%)
CIE-LABlab(79.20, -16.89, 23.41)
CIE-LCHlch(79.20, 28.87, 125.80°)
OKLaboklab(81.47% -0.0453 0.0593)
OKLCHoklch(81.47% 0.075 127.4)
XYZxyz(46.3156, 55.2762, 37.9290)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC98 #AF98CC
analogous
#CCC998 #B5CC98 #9BCC98
triadic
#B5CC98 #98B5CC #CC98B5
tetradic
#B5CC98 #98CCC9 #AF98CC #CC989B
square
#B5CC98 #98CCC9 #AF98CC #CC989B
split-complementary
#B5CC98 #989BCC #C998CC
monochromatic
#799C4D #98B86F #B5CC98 #D2E0C1 #F0F5EA

Accessibility & contrast

On white

1.74
#B5CC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#B5CC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC98
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC98#FFFFFF#000000##000000
##B5CC981.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C595
Deuteranopia (green-blind)
#CEC49A
Tritanopia (blue-blind)
#B8C7BE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b5cc98;
/* rgb */ color: rgb(181, 204, 152);
/* oklch */ color: oklch(81.5% 0.075 127.4);
Tailwind
colors: {
  custom: {
    50: '#cbdbb6',
    500: '#b5cc98',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc98;
$custom-light: #cbdbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc98",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 86.538,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81467,
    "c": 0.07463,
    "h": 127.4
  },
  "luminance": 0.55276
}

Semantic roles & 50–950 ramp

primary
#B5CC98
secondary
#8167A1
accent
#39AD6C
background
#FEFEFD
surface
#FAFBF8
border
#D3D4D1
text
#131511
muted
#838481

Preview Lab

Preview with #B5CC98

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

Preview Lab → · Contrast checker → · Palette generator →

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