#B2CC39#B2CC39

#B2CC39 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 80.0% C 0.168 H 119.2°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#B2CC39
RGBrgb(178, 204, 57)
HSLhsl(71, 59%, 51%)
HSVhsv(71, 72%, 80%)
CMYKcmyk(12.7%, 0%, 72.1%, 20%)
CIE-LABlab(77.84, -27.65, 66.05)
CIE-LCHlch(77.84, 71.61, 112.72°)
OKLaboklab(79.95% -0.0821 0.1468)
OKLCHoklch(79.95% 0.168 119.2)
XYZxyz(40.6923, 52.9464, 11.9461)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC39 #5339CC
analogous
#CC9C39 #B2CC39 #68CC39
triadic
#B2CC39 #39B2CC #CC39B2
tetradic
#B2CC39 #39CC9C #5339CC #CC3968
square
#B2CC39 #39CC9C #5339CC #CC3968
split-complementary
#B2CC39 #3968CC #9C39CC
monochromatic
#606E1C #8A9F29 #B2CC39 #C5D96A #D8E59A

Accessibility & contrast

On white

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

On black

11.59
#B2CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC39
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC39#FFFFFF#000000##000000
##B2CC391.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01D
Deuteranopia (green-blind)
#D6C145
Tritanopia (blue-blind)
#BCC1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cc39;
/* rgb */ color: rgb(178, 204, 57);
/* oklch */ color: oklch(80.0% 0.168 119.2);
Tailwind
colors: {
  custom: {
    50: '#cddb79',
    500: '#b2cc39',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc39;
$custom-light: #cddb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc39",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 70.612,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79954,
    "c": 0.16822,
    "h": 119.2
  },
  "luminance": 0.52946
}

Semantic roles & 50–950 ramp

primary
#B2CC39
secondary
#3E3278
accent
#46E261
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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