#B1CC40#B1CC40

#B1CC40 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.9% C 0.164 H 119.8°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#B1CC40
RGBrgb(177, 204, 64)
HSLhsl(72, 58%, 53%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(13.2%, 0%, 68.6%, 20%)
CIE-LABlab(77.82, -27.67, 63.48)
CIE-LCHlch(77.82, 69.25, 113.55°)
OKLaboklab(79.93% -0.0815 0.1425)
OKLCHoklch(79.93% 0.164 119.8)
XYZxyz(40.6505, 52.9032, 12.9193)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CC40 #5B40CC
analogous
#CCA140 #B1CC40 #6BCC40
triadic
#B1CC40 #40B1CC #CC40B1
tetradic
#B1CC40 #40CCA1 #5B40CC #CC406B
square
#B1CC40 #40CCA1 #5B40CC #CC406B
split-complementary
#B1CC40 #406BCC #A140CC
monochromatic
#63731F #8CA32C #B1CC40 #C5D970 #D8E6A1

Accessibility & contrast

On white

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

On black

11.58
#B1CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CC40
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CC40#FFFFFF#000000##000000
##B1CC401.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#BBC1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b1cc40;
/* rgb */ color: rgb(177, 204, 64);
/* oklch */ color: oklch(79.9% 0.164 119.8);
Tailwind
colors: {
  custom: {
    50: '#ccdb7d',
    500: '#b1cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b1cc40;
$custom-light: #ccdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cc40",
  "rgb": {
    "r": 177,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 71.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.16418,
    "h": 119.8
  },
  "luminance": 0.52903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B1CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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