#B2CC4C#B2CC4C

#B2CC4C is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.155 H 119.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B2CC4C
RGBrgb(178, 204, 76)
HSLhsl(72, 56%, 55%)
HSVhsv(72, 63%, 80%)
CMYKcmyk(12.7%, 0%, 62.7%, 20%)
CIE-LABlab(77.98, -26.49, 58.91)
CIE-LCHlch(77.98, 64.59, 114.21°)
OKLaboklab(80.1% -0.0771 0.1346)
OKLCHoklch(80.1% 0.155 119.8)
XYZxyz(41.2581, 53.1727, 14.9259)
Luminance0.5317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC4C #664CCC
analogous
#CCA64C #B2CC4C #72CC4C
triadic
#B2CC4C #4CB2CC #CC4CB2
tetradic
#B2CC4C #4CCCA6 #664CCC #CC4C72
square
#B2CC4C #4CCCA6 #664CCC #CC4C72
split-complementary
#B2CC4C #4C72CC #A64CCC
monochromatic
#697B23 #92AA31 #B2CC4C #C6DA7C #DBE7AB

Accessibility & contrast

On white

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

On black

11.63
#B2CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC4C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC4C#FFFFFF#000000##000000
##B2CC4C1.001.8011.6311.63
#FFFFFF1.801.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13C
Deuteranopia (green-blind)
#D5C155
Tritanopia (blue-blind)
#BBC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc4c;
/* rgb */ color: rgb(178, 204, 76);
/* oklch */ color: oklch(80.1% 0.155 119.8);
Tailwind
colors: {
  custom: {
    50: '#ccdb84',
    500: '#b2cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc4c;
$custom-light: #ccdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc4c",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 72.188,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.15514,
    "h": 119.8
  },
  "luminance": 0.53173
}

Semantic roles & 50–950 ramp

primary
#B2CC4C
secondary
#483983
accent
#49DF67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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