#B2CB3E#B2CB3E

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

Color values

HEX#B2CB3E
RGBrgb(178, 203, 62)
HSLhsl(71, 58%, 52%)
HSVhsv(71, 69%, 80%)
CMYKcmyk(12.3%, 0%, 69.5%, 20.4%)
CIE-LABlab(77.59, -26.90, 64.02)
CIE-LCHlch(77.59, 69.44, 112.80°)
OKLaboklab(79.76% -0.0796 0.1433)
OKLCHoklch(79.76% 0.164 119)
XYZxyz(40.5863, 52.5249, 12.5567)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB3E #573ECB
analogous
#CB9D3E #B2CB3E #6CCB3E
triadic
#B2CB3E #3EB2CB #CB3EB2
tetradic
#B2CB3E #3ECB9D #573ECB #CB3E6C
square
#B2CB3E #3ECB9D #573ECB #CB3E6C
split-complementary
#B2CB3E #3E6CCB #9D3ECB
monochromatic
#62701E #8CA12B #B2CB3E #C5D86E #D8E59E

Accessibility & contrast

On white

1.83
#B2CB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2CB3E#FFFFFF#000000##000000
##B2CB3E1.001.8311.5111.51
#FFFFFF1.831.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cb3e;
/* rgb */ color: rgb(178, 203, 62);
/* oklch */ color: oklch(79.8% 0.164 119.0);
Tailwind
colors: {
  custom: {
    50: '#ccda7c',
    500: '#b2cb3e',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb3e;
$custom-light: #ccda7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb3e",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 70.638,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79763,
    "c": 0.16395,
    "h": 119
  },
  "luminance": 0.52525
}

Semantic roles & 50–950 ramp

primary
#B2CB3E
secondary
#403479
accent
#47E162
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2CB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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