#B5CC51#B5CC51

#B5CC51 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.4% C 0.150 H 118.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#B5CC51
RGBrgb(181, 204, 81)
HSLhsl(71, 55%, 56%)
HSVhsv(71, 60%, 80%)
CMYKcmyk(11.3%, 0%, 60.3%, 20%)
CIE-LABlab(78.23, -24.92, 57.12)
CIE-LCHlch(78.23, 62.32, 113.57°)
OKLaboklab(80.38% -0.0724 0.1314)
OKLCHoklch(80.38% 0.15 118.9)
XYZxyz(42.1348, 53.6038, 15.9099)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC51 #6851CC
analogous
#CCA651 #B5CC51 #77CC51
triadic
#B5CC51 #51B5CC #CC51B5
tetradic
#B5CC51 #51CCA6 #6851CC #CC5177
square
#B5CC51 #51CCA6 #6851CC #CC5177
split-complementary
#B5CC51 #5177CC #A651CC
monochromatic
#6D7E25 #96AD33 #B5CC51 #C9DA80 #DDE8B0

Accessibility & contrast

On white

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

On black

11.72
#B5CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC51
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC51#FFFFFF#000000##000000
##B5CC511.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C143
Deuteranopia (green-blind)
#D6C259
Tritanopia (blue-blind)
#BFC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc51;
/* rgb */ color: rgb(181, 204, 81);
/* oklch */ color: oklch(80.4% 0.150 118.9);
Tailwind
colors: {
  custom: {
    50: '#cedb87',
    500: '#b5cc51',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc51;
$custom-light: #cedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc51",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 71.22,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.15006,
    "h": 118.9
  },
  "luminance": 0.53604
}

Semantic roles & 50–950 ramp

primary
#B5CC51
secondary
#493C86
accent
#4ADE66
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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