#B2CC40#B2CC40

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

Color values

HEX#B2CC40
RGBrgb(178, 204, 64)
HSLhsl(71, 58%, 53%)
HSVhsv(71, 69%, 80%)
CMYKcmyk(12.7%, 0%, 68.6%, 20%)
CIE-LABlab(77.89, -27.27, 63.57)
CIE-LCHlch(77.89, 69.17, 113.22°)
OKLaboklab(80% -0.0804 0.1427)
OKLCHoklch(80% 0.164 119.4)
XYZxyz(40.8791, 53.0211, 12.9300)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CC40 #5A40CC
analogous
#CCA040 #B2CC40 #6CCC40
triadic
#B2CC40 #40B2CC #CC40B2
tetradic
#B2CC40 #40CCA0 #5A40CC #CC406C
square
#B2CC40 #40CCA0 #5A40CC #CC406C
split-complementary
#B2CC40 #406CCC #A040CC
monochromatic
#63731F #8DA32C #B2CC40 #C5D970 #D9E6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CC40#FFFFFF#000000##000000
##B2CC401.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)
#D9C12A
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#BCC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b2cc40;
/* rgb */ color: rgb(178, 204, 64);
/* oklch */ color: oklch(80.0% 0.164 119.4);
Tailwind
colors: {
  custom: {
    50: '#ccdb7d',
    500: '#b2cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b2cc40;
$custom-light: #ccdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cc40",
  "rgb": {
    "r": 178,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 71.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80004,
    "c": 0.1638,
    "h": 119.4
  },
  "luminance": 0.53021
}

Semantic roles & 50–950 ramp

primary
#B2CC40
secondary
#42347C
accent
#47E163
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B2CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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