#B5CC52#B5CC52

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

Color values

HEX#B5CC52
RGBrgb(181, 204, 82)
HSLhsl(71, 54%, 56%)
HSVhsv(71, 60%, 80%)
CMYKcmyk(11.3%, 0%, 59.8%, 20%)
CIE-LABlab(78.24, -24.84, 56.70)
CIE-LCHlch(78.24, 61.91, 113.66°)
OKLaboklab(80.38% -0.0721 0.1306)
OKLCHoklch(80.38% 0.149 118.9)
XYZxyz(42.1725, 53.6190, 16.1088)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC52 #6952CC
analogous
#CCA652 #B5CC52 #78CC52
triadic
#B5CC52 #52B5CC #CC52B5
tetradic
#B5CC52 #52CCA6 #6952CC #CC5278
square
#B5CC52 #52CCA6 #6952CC #CC5278
split-complementary
#B5CC52 #5278CC #A652CC
monochromatic
#6E7E25 #97AE33 #B5CC52 #C9DA81 #DDE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CC52#FFFFFF#000000##000000
##B5CC521.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)
#D8C144
Deuteranopia (green-blind)
#D6C25A
Tritanopia (blue-blind)
#BFC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc52;
/* rgb */ color: rgb(181, 204, 82);
/* oklch */ color: oklch(80.4% 0.149 118.9);
Tailwind
colors: {
  custom: {
    50: '#cedb87',
    500: '#b5cc52',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc52;
$custom-light: #cedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc52",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 71.311,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80384,
    "c": 0.14923,
    "h": 118.9
  },
  "luminance": 0.53619
}

Semantic roles & 50–950 ramp

primary
#B5CC52
secondary
#4A3C86
accent
#4ADE66
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B5CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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