#B2CB40#B2CB40

#B2CB40 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.8% C 0.163 H 119.1°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#B2CB40
RGBrgb(178, 203, 64)
HSLhsl(71, 57%, 52%)
HSVhsv(71, 68%, 80%)
CMYKcmyk(12.3%, 0%, 68.5%, 20.4%)
CIE-LABlab(77.61, -26.79, 63.29)
CIE-LCHlch(77.61, 68.72, 112.94°)
OKLaboklab(79.78% -0.0791 0.1421)
OKLCHoklch(79.78% 0.163 119.1)
XYZxyz(40.6422, 52.5473, 12.8511)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB40 #5940CB
analogous
#CB9E40 #B2CB40 #6DCB40
triadic
#B2CB40 #40B2CB #CB40B2
tetradic
#B2CB40 #40CB9E #5940CB #CB406D
square
#B2CB40 #40CB9E #5940CB #CB406D
split-complementary
#B2CB40 #406DCB #9E40CB
monochromatic
#63721F #8DA22C #B2CB40 #C5D870 #D9E5A0

Accessibility & contrast

On white

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

On black

11.51
#B2CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB40
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB40#FFFFFF#000000##000000
##B2CB401.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cb40;
/* rgb */ color: rgb(178, 203, 64);
/* oklch */ color: oklch(79.8% 0.163 119.1);
Tailwind
colors: {
  custom: {
    50: '#ccda7d',
    500: '#b2cb40',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb40;
$custom-light: #ccda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb40",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 70.791,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79778,
    "c": 0.16263,
    "h": 119.1
  },
  "luminance": 0.52547
}

Semantic roles & 50–950 ramp

primary
#B2CB40
secondary
#41357B
accent
#47E063
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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