#B2FA87#B2FA87

#B2FA87 is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.2% C 0.164 H 134.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#B2FA87
RGBrgb(178, 250, 135)
HSLhsl(98, 92%, 75%)
HSVhsv(98, 46%, 98%)
CMYKcmyk(28.8%, 0%, 46%, 2%)
CIE-LABlab(91.50, -41.91, 47.97)
CIE-LCHlch(91.50, 63.70, 131.14°)
OKLaboklab(91.22% -0.1153 0.1161)
OKLCHoklch(91.22% 0.164 134.8)
XYZxyz(56.9176, 79.5835, 35.2793)
Luminance0.7958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2FA87 #CF87FA
analogous
#ECFA87 #B2FA87 #87FA95
triadic
#B2FA87 #87B2FA #FA87B2
tetradic
#B2FA87 #87ECFA #CF87FA #FA9587
square
#B2FA87 #87ECFA #CF87FA #FA9587
split-complementary
#B2FA87 #9587FA #FA87EC
monochromatic
#67F511 #8CF84C #B2FA87 #D8FCC2 #ECFEE2

Accessibility & contrast

On white

1.24
#B2FA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#B2FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2FA87
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2FA87#FFFFFF#000000##000000
##B2FA871.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#F7E48E
Tritanopia (blue-blind)
#B1F2DF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #b2fa87;
/* rgb */ color: rgb(178, 250, 135);
/* oklch */ color: oklch(91.2% 0.164 134.8);
Tailwind
colors: {
  custom: {
    50: '#ccfcac',
    500: '#b2fa87',
    950: '#000000',
  },
}
SCSS
$custom: #b2fa87;
$custom-light: #ccfcac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2fa87",
  "rgb": {
    "r": 178,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 97.565,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91223,
    "c": 0.16363,
    "h": 134.8
  },
  "luminance": 0.79585
}

Semantic roles & 50–950 ramp

primary
#B2FA87
secondary
#A44DD8
accent
#00E690
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #B2FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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