#B2EC5B#B2EC5B

#B2EC5B is a very light, vivid yellow-green. Relative luminance 0.702; OKLCH L 87.5% C 0.184 H 128.2°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#B2EC5B
RGBrgb(178, 236, 91)
HSLhsl(84, 79%, 64%)
HSVhsv(84, 61%, 93%)
CMYKcmyk(24.6%, 0%, 61.4%, 7.5%)
CIE-LABlab(87.10, -40.11, 62.57)
CIE-LCHlch(87.10, 74.33, 122.66°)
OKLaboklab(87.51% -0.1135 0.1442)
OKLCHoklch(87.51% 0.184 128.2)
XYZxyz(50.2437, 70.2102, 20.8003)
Luminance0.7021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2EC5B #955BEC
analogous
#ECDE5B #B2EC5B #6AEC5B
triadic
#B2EC5B #5BB2EC #EC5BB2
tetradic
#B2EC5B #5BECDE #955BEC #EC5B6A
square
#B2EC5B #5BECDE #955BEC #EC5B6A
split-complementary
#B2EC5B #5B6AEC #DE5BEC
monochromatic
#77B715 #98E624 #B2EC5B #CCF292 #E6F9C9

Accessibility & contrast

On white

1.40
#B2EC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#B2EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2EC5B
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2EC5B#FFFFFF#000000##000000
##B2EC5B1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD4A
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#B7E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #b2ec5b;
/* rgb */ color: rgb(178, 236, 91);
/* oklch */ color: oklch(87.5% 0.184 128.2);
Tailwind
colors: {
  custom: {
    50: '#ccf28f',
    500: '#b2ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ec5b;
$custom-light: #ccf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ec5b",
  "rgb": {
    "r": 178,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 84,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8751,
    "c": 0.18354,
    "h": 128.2
  },
  "luminance": 0.70211
}

Semantic roles & 50–950 ramp

primary
#B2EC5B
secondary
#6934B7
accent
#0ADC5E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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