#B2CB4B#B2CB4B

#B2CB4B is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.155 H 119.5°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B2CB4B
RGBrgb(178, 203, 75)
HSLhsl(72, 55%, 55%)
HSVhsv(72, 63%, 80%)
CMYKcmyk(12.3%, 0%, 63.1%, 20.4%)
CIE-LABlab(77.69, -26.08, 59.01)
CIE-LCHlch(77.69, 64.52, 113.84°)
OKLaboklab(79.87% -0.0761 0.1347)
OKLCHoklch(79.87% 0.155 119.5)
XYZxyz(40.9867, 52.6851, 14.6653)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CB4B #644BCB
analogous
#CBA44B #B2CB4B #72CB4B
triadic
#B2CB4B #4BB2CB #CB4BB2
tetradic
#B2CB4B #4BCBA4 #644BCB #CB4B72
square
#B2CB4B #4BCBA4 #644BCB #CB4B72
split-complementary
#B2CB4B #4B72CB #A44BCB
monochromatic
#687923 #91A831 #B2CB4B #C6D97A #DBE6AA

Accessibility & contrast

On white

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

On black

11.54
#B2CB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CB4B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CB4B#FFFFFF#000000##000000
##B2CB4B1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03B
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#BCC1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b2cb4b;
/* rgb */ color: rgb(178, 203, 75);
/* oklch */ color: oklch(79.9% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#ccda83',
    500: '#b2cb4b',
    950: '#000000',
  },
}
SCSS
$custom: #b2cb4b;
$custom-light: #ccda83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2cb4b",
  "rgb": {
    "r": 178,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 71.719,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7987,
    "c": 0.1547,
    "h": 119.5
  },
  "luminance": 0.52685
}

Semantic roles & 50–950 ramp

primary
#B2CB4B
secondary
#473981
accent
#49DF66
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2CB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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