#B2CC4A#B2CC4A

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

Color values

HEX#B2CC4A
RGBrgb(178, 204, 74)
HSLhsl(72, 56%, 55%)
HSVhsv(72, 64%, 80%)
CMYKcmyk(12.7%, 0%, 63.7%, 20%)
CIE-LABlab(77.96, -26.63, 59.71)
CIE-LCHlch(77.96, 65.38, 114.03°)
OKLaboklab(80.09% -0.0777 0.1361)
OKLCHoklch(80.09% 0.157 119.7)
XYZxyz(41.1896, 53.1453, 14.5654)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC4A #644ACC
analogous
#CCA54A #B2CC4A #71CC4A
triadic
#B2CC4A #4AB2CC #CC4AB2
tetradic
#B2CC4A #4ACCA5 #644ACC #CC4A71
square
#B2CC4A #4ACCA5 #644ACC #CC4A71
split-complementary
#B2CC4A #4A71CC #A54ACC
monochromatic
#687922 #91A930 #B2CC4A #C6D97A #DBE7A9

Accessibility & contrast

On white

1.81
#B2CC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CC4A#FFFFFF#000000##000000
##B2CC4A1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C139
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#BCC2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc4a;
/* rgb */ color: rgb(178, 204, 74);
/* oklch */ color: oklch(80.1% 0.157 119.7);
Tailwind
colors: {
  custom: {
    50: '#ccdb83',
    500: '#b2cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc4a;
$custom-light: #ccdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc4a",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 72,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80086,
    "c": 0.15667,
    "h": 119.7
  },
  "luminance": 0.53145
}

Semantic roles & 50–950 ramp

primary
#B2CC4A
secondary
#473982
accent
#48DF67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B2CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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