#B2CC4F#B2CC4F

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

Color values

HEX#B2CC4F
RGBrgb(178, 204, 79)
HSLhsl(72, 55%, 55%)
HSVhsv(72, 61%, 80%)
CMYKcmyk(12.7%, 0%, 61.3%, 20%)
CIE-LABlab(78.00, -26.27, 57.67)
CIE-LCHlch(78.00, 63.37, 114.49°)
OKLaboklab(80.13% -0.0762 0.1324)
OKLCHoklch(80.13% 0.153 119.9)
XYZxyz(41.3648, 53.2154, 15.4881)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC4F #694FCC
analogous
#CCA74F #B2CC4F #73CC4F
triadic
#B2CC4F #4FB2CC #CC4FB2
tetradic
#B2CC4F #4FCCA7 #694FCC #CC4F73
square
#B2CC4F #4FCCA7 #694FCC #CC4F73
split-complementary
#B2CC4F #4F73CC #A74FCC
monochromatic
#6A7D24 #93AC32 #B2CC4F #C7DA7E #DCE7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CC4F#FFFFFF#000000##000000
##B2CC4F1.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)
#D8C140
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#BBC2B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc4f;
/* rgb */ color: rgb(178, 204, 79);
/* oklch */ color: oklch(80.1% 0.153 119.9);
Tailwind
colors: {
  custom: {
    50: '#ccdb85',
    500: '#b2cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc4f;
$custom-light: #ccdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc4f",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 72.48,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80132,
    "c": 0.15276,
    "h": 119.9
  },
  "luminance": 0.53215
}

Semantic roles & 50–950 ramp

primary
#B2CC4F
secondary
#4A3B84
accent
#49DE68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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