#B2CC4E#B2CC4E

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

Color values

HEX#B2CC4E
RGBrgb(178, 204, 78)
HSLhsl(72, 55%, 55%)
HSVhsv(72, 62%, 80%)
CMYKcmyk(12.7%, 0%, 61.8%, 20%)
CIE-LABlab(77.99, -26.35, 58.08)
CIE-LCHlch(77.99, 63.78, 114.40°)
OKLaboklab(80.12% -0.0765 0.1331)
OKLCHoklch(80.12% 0.154 119.9)
XYZxyz(41.3287, 53.2009, 15.2978)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC4E #684ECC
analogous
#CCA74E #B2CC4E #73CC4E
triadic
#B2CC4E #4EB2CC #CC4EB2
tetradic
#B2CC4E #4ECCA7 #684ECC #CC4E73
square
#B2CC4E #4ECCA7 #684ECC #CC4E73
split-complementary
#B2CC4E #4E73CC #A74ECC
monochromatic
#6A7C24 #92AB31 #B2CC4E #C7DA7E #DBE7AD

Accessibility & contrast

On white

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

On black

11.64
#B2CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC4E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC4E#FFFFFF#000000##000000
##B2CC4E1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cc4e;
/* rgb */ color: rgb(178, 204, 78);
/* oklch */ color: oklch(80.1% 0.154 119.9);
Tailwind
colors: {
  custom: {
    50: '#ccdb85',
    500: '#b2cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc4e;
$custom-light: #ccdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc4e",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 72.381,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80123,
    "c": 0.15356,
    "h": 119.9
  },
  "luminance": 0.53201
}

Semantic roles & 50–950 ramp

primary
#B2CC4E
secondary
#493A84
accent
#49DF68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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