#B2CC51#B2CC51

#B2CC51 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.2% C 0.151 H 120.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#B2CC51
RGBrgb(178, 204, 81)
HSLhsl(73, 55%, 56%)
HSVhsv(73, 60%, 80%)
CMYKcmyk(12.7%, 0%, 60.3%, 20%)
CIE-LABlab(78.02, -26.12, 56.83)
CIE-LCHlch(78.02, 62.55, 114.68°)
OKLaboklab(80.15% -0.0756 0.1309)
OKLCHoklch(80.15% 0.151 120)
XYZxyz(41.4387, 53.2449, 15.8772)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC51 #6B51CC
analogous
#CCA851 #B2CC51 #74CC51
triadic
#B2CC51 #51B2CC #CC51B2
tetradic
#B2CC51 #51CCA8 #6B51CC #CC5174
square
#B2CC51 #51CCA8 #6B51CC #CC5174
split-complementary
#B2CC51 #5174CC #A851CC
monochromatic
#6B7E25 #93AD33 #B2CC51 #C7DA80 #DCE8B0

Accessibility & contrast

On white

1.80
#B2CC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#B2CC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC51
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC51#FFFFFF#000000##000000
##B2CC511.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cc51;
/* rgb */ color: rgb(178, 204, 81);
/* oklch */ color: oklch(80.2% 0.151 120.0);
Tailwind
colors: {
  custom: {
    50: '#ccdb87',
    500: '#b2cc51',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc51;
$custom-light: #ccdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc51",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 72.683,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80152,
    "c": 0.15113,
    "h": 120
  },
  "luminance": 0.53245
}

Semantic roles & 50–950 ramp

primary
#B2CC51
secondary
#4B3C86
accent
#4ADE69
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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