#B2CC52#B2CC52

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

Color values

HEX#B2CC52
RGBrgb(178, 204, 82)
HSLhsl(73, 54%, 56%)
HSVhsv(73, 60%, 80%)
CMYKcmyk(12.7%, 0%, 59.8%, 20%)
CIE-LABlab(78.03, -26.05, 56.41)
CIE-LCHlch(78.03, 62.13, 114.78°)
OKLaboklab(80.16% -0.0753 0.1301)
OKLCHoklch(80.16% 0.15 120.1)
XYZxyz(41.4765, 53.2601, 16.0762)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC52 #6C52CC
analogous
#CCA952 #B2CC52 #75CC52
triadic
#B2CC52 #52B2CC #CC52B2
tetradic
#B2CC52 #52CCA9 #6C52CC #CC5275
square
#B2CC52 #52CCA9 #6C52CC #CC5275
split-complementary
#B2CC52 #5275CC #A952CC
monochromatic
#6B7E25 #94AE33 #B2CC52 #C7DA81 #DCE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CC52#FFFFFF#000000##000000
##B2CC521.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)
#D8C144
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#BBC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc52;
/* rgb */ color: rgb(178, 204, 82);
/* oklch */ color: oklch(80.2% 0.150 120.1);
Tailwind
colors: {
  custom: {
    50: '#ccdb87',
    500: '#b2cc52',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc52;
$custom-light: #ccdb87;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc52",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 72.787,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80162,
    "c": 0.15031,
    "h": 120.1
  },
  "luminance": 0.5326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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