#B2F987#B2F987

#B2F987 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.0% C 0.162 H 134.7°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#B2F987
RGBrgb(178, 249, 135)
HSLhsl(97, 90%, 75%)
HSVhsv(97, 46%, 98%)
CMYKcmyk(28.5%, 0%, 45.8%, 2.4%)
CIE-LABlab(91.22, -41.47, 47.63)
CIE-LCHlch(91.22, 63.15, 131.05°)
OKLaboklab(91% -0.1141 0.1153)
OKLCHoklch(91% 0.162 134.7)
XYZxyz(56.6077, 78.9637, 35.1760)
Luminance0.7897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F987 #CE87F9
analogous
#EBF987 #B2F987 #87F995
triadic
#B2F987 #87B2F9 #F987B2
tetradic
#B2F987 #87EBF9 #CE87F9 #F99587
square
#B2F987 #87EBF9 #CE87F9 #F99587
split-complementary
#B2F987 #9587F9 #F987EB
monochromatic
#67F312 #8DF64D #B2F987 #D7FCC1 #ECFEE2

Accessibility & contrast

On white

1.25
#B2F987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#B2F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F987
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F987#FFFFFF#000000##000000
##B2F9871.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#F6E48E
Tritanopia (blue-blind)
#B2F1DE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #b2f987;
/* rgb */ color: rgb(178, 249, 135);
/* oklch */ color: oklch(91.0% 0.162 134.7);
Tailwind
colors: {
  custom: {
    50: '#cbfbac',
    500: '#b2f987',
    950: '#000000',
  },
}
SCSS
$custom: #b2f987;
$custom-light: #cbfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f987",
  "rgb": {
    "r": 178,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 97.368,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90997,
    "c": 0.16223,
    "h": 134.7
  },
  "luminance": 0.78966
}

Semantic roles & 50–950 ramp

primary
#B2F987
secondary
#A34DD7
accent
#00E68F
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #B2F987

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

Preview Lab → · Contrast checker → · Palette generator →

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