#B0CC31#B0CC31

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

Color values

HEX#B0CC31
RGBrgb(176, 204, 49)
HSLhsl(71, 61%, 50%)
HSVhsv(71, 76%, 80%)
CMYKcmyk(13.7%, 0%, 76%, 20%)
CIE-LABlab(77.66, -28.85, 68.46)
CIE-LCHlch(77.66, 74.29, 112.85°)
OKLaboklab(79.76% -0.0859 0.1506)
OKLCHoklch(79.76% 0.173 119.7)
XYZxyz(40.0526, 52.6378, 10.9552)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0CC31 #4D31CC
analogous
#CC9B31 #B0CC31 #62CC31
triadic
#B0CC31 #31B0CC #CC31B0
tetradic
#B0CC31 #31CC9B #4D31CC #CC3162
square
#B0CC31 #31CC9B #4D31CC #CC3162
split-complementary
#B0CC31 #3162CC #9B31CC
monochromatic
#5B6919 #859B25 #B0CC31 #C3D961 #D6E592

Accessibility & contrast

On white

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

On black

11.53
#B0CC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0CC31
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0CC31#FFFFFF#000000##000000
##B0CC311.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0cc31;
/* rgb */ color: rgb(176, 204, 49);
/* oklch */ color: oklch(79.8% 0.173 119.7);
Tailwind
colors: {
  custom: {
    50: '#cbdb75',
    500: '#b0cc31',
    950: '#000000',
  },
}
SCSS
$custom: #b0cc31;
$custom-light: #cbdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b0cc31",
  "rgb": {
    "r": 176,
    "g": 204,
    "b": 49
  },
  "hsl": {
    "h": 70.839,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79758,
    "c": 0.17342,
    "h": 119.7
  },
  "luminance": 0.52638
}

Semantic roles & 50–950 ramp

primary
#B0CC31
secondary
#3B2E73
accent
#43E461
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B0CC31

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

Preview Lab → · Contrast checker → · Palette generator →

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