#B2CC42#B2CC42

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

Color values

HEX#B2CC42
RGBrgb(178, 204, 66)
HSLhsl(71, 58%, 53%)
HSVhsv(71, 68%, 80%)
CMYKcmyk(12.7%, 0%, 67.6%, 20%)
CIE-LABlab(77.90, -27.15, 62.83)
CIE-LCHlch(77.90, 68.44, 113.37°)
OKLaboklab(80.02% -0.0799 0.1415)
OKLCHoklch(80.02% 0.162 119.5)
XYZxyz(40.9371, 53.0443, 13.2352)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC42 #5C42CC
analogous
#CCA142 #B2CC42 #6DCC42
triadic
#B2CC42 #42B2CC #CC42B2
tetradic
#B2CC42 #42CCA1 #5C42CC #CC426D
square
#B2CC42 #42CCA1 #5C42CC #CC426D
split-complementary
#B2CC42 #426DCC #A142CC
monochromatic
#64741F #8EA42C #B2CC42 #C6D972 #D9E6A2

Accessibility & contrast

On white

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

On black

11.61
#B2CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CC42
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CC42#FFFFFF#000000##000000
##B2CC421.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#BCC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc42;
/* rgb */ color: rgb(178, 204, 66);
/* oklch */ color: oklch(80.0% 0.162 119.5);
Tailwind
colors: {
  custom: {
    50: '#ccdb7e',
    500: '#b2cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc42;
$custom-light: #ccdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc42",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 71.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80019,
    "c": 0.16245,
    "h": 119.5
  },
  "luminance": 0.53044
}

Semantic roles & 50–950 ramp

primary
#B2CC42
secondary
#43357D
accent
#47E164
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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