#B1CC2D#B1CC2D

#B1CC2D is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.8% C 0.175 H 119.3°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B1CC2D
RGBrgb(177, 204, 45)
HSLhsl(70, 64%, 49%)
HSVhsv(70, 78%, 80%)
CMYKcmyk(13.2%, 0%, 77.9%, 20%)
CIE-LABlab(77.71, -28.61, 69.74)
CIE-LCHlch(77.71, 75.38, 112.31°)
OKLaboklab(79.81% -0.0856 0.1526)
OKLCHoklch(79.81% 0.175 119.3)
XYZxyz(40.1989, 52.7226, 10.5409)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CC2D #482DCC
analogous
#CC982D #B1CC2D #62CC2D
triadic
#B1CC2D #2DB1CC #CC2DB1
tetradic
#B1CC2D #2DCC98 #482DCC #CC2D62
square
#B1CC2D #2DCC98 #482DCC #CC2D62
split-complementary
#B1CC2D #2D62CC #982DCC
monochromatic
#5A6817 #859A22 #B1CC2D #C5DB5B #D7E68D

Accessibility & contrast

On white

1.82
#B1CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#B1CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CC2D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CC2D#FFFFFF#000000##000000
##B1CC2D1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#D6C13D
Tritanopia (blue-blind)
#BCC1AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b1cc2d;
/* rgb */ color: rgb(177, 204, 45);
/* oklch */ color: oklch(79.8% 0.175 119.3);
Tailwind
colors: {
  custom: {
    50: '#ccdb74',
    500: '#b1cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b1cc2d;
$custom-light: #ccdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cc2d",
  "rgb": {
    "r": 177,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 70.189,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7981,
    "c": 0.17501,
    "h": 119.3
  },
  "luminance": 0.52722
}

Semantic roles & 50–950 ramp

primary
#B1CC2D
secondary
#372B72
accent
#41E75D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B1CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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