#B2CC5A#B2CC5A

#B2CC5A is a light, vivid yellow-green. Relative luminance 0.534; OKLCH L 80.2% C 0.143 H 120.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#B2CC5A
RGBrgb(178, 204, 90)
HSLhsl(74, 53%, 58%)
HSVhsv(74, 56%, 80%)
CMYKcmyk(12.7%, 0%, 55.9%, 20%)
CIE-LABlab(78.10, -25.39, 52.94)
CIE-LCHlch(78.10, 58.72, 115.62°)
OKLaboklab(80.25% -0.0727 0.1236)
OKLCHoklch(80.25% 0.143 120.5)
XYZxyz(41.7989, 53.3890, 17.7740)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC5A #745ACC
analogous
#CCAD5A #B2CC5A #79CC5A
triadic
#B2CC5A #5AB2CC #CC5AB2
tetradic
#B2CC5A #5ACCAD #745ACC #CC5A79
square
#B2CC5A #5ACCAD #745ACC #CC5A79
split-complementary
#B2CC5A #5A79CC #AD5ACC
monochromatic
#6E8329 #96B237 #B2CC5A #C8DA89 #DEE9B7

Accessibility & contrast

On white

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

On black

11.68
#B2CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC5A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC5A#FFFFFF#000000##000000
##B2CC5A1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14E
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#BBC2B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc5a;
/* rgb */ color: rgb(178, 204, 90);
/* oklch */ color: oklch(80.2% 0.143 120.5);
Tailwind
colors: {
  custom: {
    50: '#cbdb8c',
    500: '#b2cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc5a;
$custom-light: #cbdb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc5a",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 73.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80247,
    "c": 0.14338,
    "h": 120.5
  },
  "luminance": 0.53389
}

Semantic roles & 50–950 ramp

primary
#B2CC5A
secondary
#51408A
accent
#4CDC6D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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