#B2EC5A#B2EC5A

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

Color values

HEX#B2EC5A
RGBrgb(178, 236, 90)
HSLhsl(84, 79%, 64%)
HSVhsv(84, 62%, 93%)
CMYKcmyk(24.6%, 0%, 61.9%, 7.5%)
CIE-LABlab(87.09, -40.19, 62.98)
CIE-LCHlch(87.09, 74.71, 122.55°)
OKLaboklab(87.5% -0.1138 0.145)
OKLCHoklch(87.5% 0.184 128.1)
XYZxyz(50.2009, 70.1930, 20.5746)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2EC5A #945AEC
analogous
#ECDD5A #B2EC5A #69EC5A
triadic
#B2EC5A #5AB2EC #EC5AB2
tetradic
#B2EC5A #5AECDD #945AEC #EC5A69
square
#B2EC5A #5AECDD #945AEC #EC5A69
split-complementary
#B2EC5A #5A69EC #DD5AEC
monochromatic
#76B715 #98E623 #B2EC5A #CCF291 #E5F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2EC5A#FFFFFF#000000##000000
##B2EC5A1.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)
#F7DD48
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#B7E2CD
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #b2ec5a;
/* rgb */ color: rgb(178, 236, 90);
/* oklch */ color: oklch(87.5% 0.184 128.1);
Tailwind
colors: {
  custom: {
    50: '#ccf28e',
    500: '#b2ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #b2ec5a;
$custom-light: #ccf28e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ec5a",
  "rgb": {
    "r": 178,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 83.836,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.875,
    "c": 0.18431,
    "h": 128.1
  },
  "luminance": 0.70194
}

Semantic roles & 50–950 ramp

primary
#B2EC5A
secondary
#6834B6
accent
#0ADC5D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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