#B0CC40#B0CC40

#B0CC40 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.165 H 120.1°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#B0CC40
RGBrgb(176, 204, 64)
HSLhsl(72, 58%, 53%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(13.7%, 0%, 68.6%, 20%)
CIE-LABlab(77.75, -28.08, 63.38)
CIE-LCHlch(77.75, 69.32, 113.89°)
OKLaboklab(79.86% -0.0825 0.1424)
OKLCHoklch(79.86% 0.165 120.1)
XYZxyz(40.4235, 52.7862, 12.9087)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0CC40 #5C40CC
analogous
#CCA240 #B0CC40 #6ACC40
triadic
#B0CC40 #40B0CC #CC40B0
tetradic
#B0CC40 #40CCA2 #5C40CC #CC406A
square
#B0CC40 #40CCA2 #5C40CC #CC406A
split-complementary
#B0CC40 #406ACC #A240CC
monochromatic
#62731F #8BA32C #B0CC40 #C4D970 #D8E6A1

Accessibility & contrast

On white

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

On black

11.56
#B0CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0CC40
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0CC40#FFFFFF#000000##000000
##B0CC401.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C02A
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#BAC1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b0cc40;
/* rgb */ color: rgb(176, 204, 64);
/* oklch */ color: oklch(79.9% 0.165 120.1);
Tailwind
colors: {
  custom: {
    50: '#cbdb7d',
    500: '#b0cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b0cc40;
$custom-light: #cbdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b0cc40",
  "rgb": {
    "r": 176,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 72,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79857,
    "c": 0.16457,
    "h": 120.1
  },
  "luminance": 0.52786
}

Semantic roles & 50–950 ramp

primary
#B0CC40
secondary
#43347C
accent
#47E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B0CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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