#B2E157#B2E157

#B2E157 is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.0% C 0.173 H 125.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#B2E157
RGBrgb(178, 225, 87)
HSLhsl(80, 70%, 61%)
HSVhsv(80, 61%, 88%)
CMYKcmyk(20.9%, 0%, 61.3%, 11.8%)
CIE-LABlab(83.97, -35.49, 60.81)
CIE-LCHlch(83.97, 70.41, 120.27°)
OKLaboklab(84.96% -0.1011 0.14)
OKLCHoklch(84.96% 0.173 125.8)
XYZxyz(47.0057, 64.0029, 18.8923)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E157 #8657E1
analogous
#E1CB57 #B2E157 #6DE157
triadic
#B2E157 #57B2E1 #E157B2
tetradic
#B2E157 #57E1CB #8657E1 #E1576D
square
#B2E157 #57E1CB #8657E1 #E1576D
split-complementary
#B2E157 #576DE1 #CB57E1
monochromatic
#74A11D #99D526 #B2E157 #CAEA8B #E2F4BF

Accessibility & contrast

On white

1.52
#B2E157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#B2E157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E157
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E157#FFFFFF#000000##000000
##B2E1571.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#B9D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #b2e157;
/* rgb */ color: rgb(178, 225, 87);
/* oklch */ color: oklch(85.0% 0.173 125.8);
Tailwind
colors: {
  custom: {
    50: '#ccea8c',
    500: '#b2e157',
    950: '#000000',
  },
}
SCSS
$custom: #b2e157;
$custom-light: #ccea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e157",
  "rgb": {
    "r": 178,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 80.435,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.84964,
    "c": 0.1727,
    "h": 125.8
  },
  "luminance": 0.64004
}

Semantic roles & 50–950 ramp

primary
#B2E157
secondary
#5D38A4
accent
#14D254
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #B2E157

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

Preview Lab → · Contrast checker → · Palette generator →

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