#B2CC59#B2CC59

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

Color values

HEX#B2CC59
RGBrgb(178, 204, 89)
HSLhsl(74, 53%, 57%)
HSVhsv(74, 56%, 80%)
CMYKcmyk(12.7%, 0%, 56.4%, 20%)
CIE-LABlab(78.09, -25.48, 53.39)
CIE-LCHlch(78.09, 59.15, 115.51°)
OKLaboklab(80.24% -0.073 0.1244)
OKLCHoklch(80.24% 0.144 120.4)
XYZxyz(41.7566, 53.3721, 17.5513)
Luminance0.5337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC59 #7359CC
analogous
#CCAC59 #B2CC59 #79CC59
triadic
#B2CC59 #59B2CC #CC59B2
tetradic
#B2CC59 #59CCAC #7359CC #CC5979
square
#B2CC59 #59CCAC #7359CC #CC5979
split-complementary
#B2CC59 #5979CC #AC59CC
monochromatic
#6E8328 #96B136 #B2CC59 #C8DA88 #DDE9B7

Accessibility & contrast

On white

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

On black

11.67
#B2CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC59
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC59#FFFFFF#000000##000000
##B2CC591.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cc59;
/* rgb */ color: rgb(178, 204, 89);
/* oklch */ color: oklch(80.2% 0.144 120.4);
Tailwind
colors: {
  custom: {
    50: '#cbdb8c',
    500: '#b2cc59',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc59;
$custom-light: #cbdb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc59",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 73.565,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80236,
    "c": 0.14427,
    "h": 120.4
  },
  "luminance": 0.53372
}

Semantic roles & 50–950 ramp

primary
#B2CC59
secondary
#503F8A
accent
#4BDC6C
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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