#B2CC3E#B2CC3E

#B2CC3E is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.165 H 119.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#B2CC3E
RGBrgb(178, 204, 62)
HSLhsl(71, 58%, 52%)
HSVhsv(71, 70%, 80%)
CMYKcmyk(12.7%, 0%, 69.6%, 20%)
CIE-LABlab(77.87, -27.38, 64.30)
CIE-LCHlch(77.87, 69.89, 113.07°)
OKLaboklab(79.99% -0.0809 0.1439)
OKLCHoklch(79.99% 0.165 119.3)
XYZxyz(40.8232, 52.9987, 12.6357)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC3E #583ECC
analogous
#CC9F3E #B2CC3E #6BCC3E
triadic
#B2CC3E #3EB2CC #CC3EB2
tetradic
#B2CC3E #3ECC9F #583ECC #CC3E6B
square
#B2CC3E #3ECC9F #583ECC #CC3E6B
split-complementary
#B2CC3E #3E6BCC #9F3ECC
monochromatic
#62721E #8CA22B #B2CC3E #C5D96E #D9E69F

Accessibility & contrast

On white

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

On black

11.60
#B2CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC3E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC3E#FFFFFF#000000##000000
##B2CC3E1.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cc3e;
/* rgb */ color: rgb(178, 204, 62);
/* oklch */ color: oklch(80.0% 0.165 119.3);
Tailwind
colors: {
  custom: {
    50: '#ccdb7c',
    500: '#b2cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc3e;
$custom-light: #ccdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc3e",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 70.986,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79989,
    "c": 0.16511,
    "h": 119.3
  },
  "luminance": 0.52999
}

Semantic roles & 50–950 ramp

primary
#B2CC3E
secondary
#41347B
accent
#46E163
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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