#B2F158#B2F158

#B2F158 is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 88.6% C 0.192 H 128.8°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#B2F158
RGBrgb(178, 241, 88)
HSLhsl(85, 85%, 65%)
HSVhsv(85, 63%, 95%)
CMYKcmyk(26.1%, 0%, 63.5%, 5.5%)
CIE-LABlab(88.49, -42.54, 65.30)
CIE-LCHlch(88.49, 77.93, 123.08°)
OKLaboklab(88.63% -0.1205 0.1496)
OKLCHoklch(88.63% 0.192 128.8)
XYZxyz(51.5766, 73.0789, 20.6189)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F158 #9758F1
analogous
#F1E458 #B2F158 #66F158
triadic
#B2F158 #58B2F1 #F158B2
tetradic
#B2F158 #58F1E4 #9758F1 #F15866
square
#B2F158 #58F1E4 #9758F1 #F15866
split-complementary
#B2F158 #5866F1 #E458F1
monochromatic
#77BF10 #98EC20 #B2F158 #CCF690 #E6FAC9

Accessibility & contrast

On white

1.34
#B2F158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#B2F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F158
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F158#FFFFFF#000000##000000
##B2F1581.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE144
Deuteranopia (green-blind)
#F3DD64
Tritanopia (blue-blind)
#B7E7D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #b2f158;
/* rgb */ color: rgb(178, 241, 88);
/* oklch */ color: oklch(88.6% 0.192 128.8);
Tailwind
colors: {
  custom: {
    50: '#cdf68e',
    500: '#b2f158',
    950: '#000000',
  },
}
SCSS
$custom: #b2f158;
$custom-light: #cdf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f158",
  "rgb": {
    "r": 178,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 84.706,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88625,
    "c": 0.1921,
    "h": 128.8
  },
  "luminance": 0.7308
}

Semantic roles & 50–950 ramp

primary
#B2F158
secondary
#6A30BD
accent
#05E15F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2F158

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

Preview Lab → · Contrast checker → · Palette generator →

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