#B1CC31#B1CC31

#B1CC31 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.8% C 0.173 H 119.4°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#B1CC31
RGBrgb(177, 204, 49)
HSLhsl(70, 61%, 50%)
HSVhsv(70, 76%, 80%)
CMYKcmyk(13.2%, 0%, 76%, 20%)
CIE-LABlab(77.73, -28.44, 68.55)
CIE-LCHlch(77.73, 74.22, 112.53°)
OKLaboklab(79.83% -0.0849 0.1508)
OKLCHoklch(79.83% 0.173 119.4)
XYZxyz(40.2795, 52.7548, 10.9659)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CC31 #4C31CC
analogous
#CC9A31 #B1CC31 #63CC31
triadic
#B1CC31 #31B1CC #CC31B1
tetradic
#B1CC31 #31CC9A #4C31CC #CC3163
square
#B1CC31 #31CC9A #4C31CC #CC3163
split-complementary
#B1CC31 #3163CC #9A31CC
monochromatic
#5B6919 #869B25 #B1CC31 #C4D961 #D7E592

Accessibility & contrast

On white

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

On black

11.55
#B1CC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CC31
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CC31#FFFFFF#000000##000000
##B1CC311.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1cc31;
/* rgb */ color: rgb(177, 204, 49);
/* oklch */ color: oklch(79.8% 0.173 119.4);
Tailwind
colors: {
  custom: {
    50: '#ccdb75',
    500: '#b1cc31',
    950: '#000000',
  },
}
SCSS
$custom: #b1cc31;
$custom-light: #ccdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cc31",
  "rgb": {
    "r": 177,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 70.452,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79831,
    "c": 0.17304,
    "h": 119.4
  },
  "luminance": 0.52755
}

Semantic roles & 50–950 ramp

primary
#B1CC31
secondary
#3A2E73
accent
#43E45F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B1CC31

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

Preview Lab → · Contrast checker → · Palette generator →

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