#B2CB3B#B2CB3B

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

Color values

HEX#B2CB3B
RGBrgb(178, 203, 59)
HSLhsl(70, 58%, 51%)
HSVhsv(70, 71%, 80%)
CMYKcmyk(12.3%, 0%, 70.9%, 20.4%)
CIE-LABlab(77.57, -27.07, 65.09)
CIE-LCHlch(77.57, 70.49, 112.58°)
OKLaboklab(79.74% -0.0803 0.1451)
OKLCHoklch(79.74% 0.166 119)
XYZxyz(40.5063, 52.4929, 12.1351)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB3B #543BCB
analogous
#CB9C3B #B2CB3B #6ACB3B
triadic
#B2CB3B #3BB2CB #CB3BB2
tetradic
#B2CB3B #3BCB9C #543BCB #CB3B6A
square
#B2CB3B #3BCB9C #543BCB #CB3B6A
split-complementary
#B2CB3B #3B6ACB #9C3BCB
monochromatic
#606E1D #8A9F2A #B2CB3B #C5D86B #D8E59C

Accessibility & contrast

On white

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

On black

11.50
#B2CB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB3B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB3B#FFFFFF#000000##000000
##B2CB3B1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2cb3b;
/* rgb */ color: rgb(178, 203, 59);
/* oklch */ color: oklch(79.7% 0.166 119.0);
Tailwind
colors: {
  custom: {
    50: '#ccda7a',
    500: '#b2cb3b',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb3b;
$custom-light: #ccda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb3b",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 70.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79742,
    "c": 0.16585,
    "h": 119
  },
  "luminance": 0.52493
}

Semantic roles & 50–950 ramp

primary
#B2CB3B
secondary
#3F3378
accent
#47E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2CB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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