#B1F257#B1F257

#B1F257 is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 88.8% C 0.195 H 129.2°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#B1F257
RGBrgb(177, 242, 87)
HSLhsl(85, 86%, 65%)
HSVhsv(85, 64%, 95%)
CMYKcmyk(26.9%, 0%, 64%, 5.1%)
CIE-LABlab(88.70, -43.41, 65.91)
CIE-LCHlch(88.70, 78.92, 123.37°)
OKLaboklab(88.79% -0.1229 0.1508)
OKLCHoklch(88.79% 0.195 129.2)
XYZxyz(51.6037, 73.5382, 20.4905)
Luminance0.7354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1F257 #9857F2
analogous
#F2E557 #B1F257 #64F257
triadic
#B1F257 #57B1F2 #F257B1
tetradic
#B1F257 #57F2E5 #9857F2 #F25764
square
#B1F257 #57F2E5 #9857F2 #F25764
split-complementary
#B1F257 #5764F2 #E557F2
monochromatic
#76C00F #97EE1E #B1F257 #CBF690 #E6FBC9

Accessibility & contrast

On white

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

On black

15.71
#B1F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1F257
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1F257#FFFFFF#000000##000000
##B1F2571.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE243
Deuteranopia (green-blind)
#F4DD63
Tritanopia (blue-blind)
#B6E8D2
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #b1f257;
/* rgb */ color: rgb(177, 242, 87);
/* oklch */ color: oklch(88.8% 0.195 129.2);
Tailwind
colors: {
  custom: {
    50: '#ccf68d',
    500: '#b1f257',
    950: '#000000',
  },
}
SCSS
$custom: #b1f257;
$custom-light: #ccf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1f257",
  "rgb": {
    "r": 177,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 85.161,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88785,
    "c": 0.19455,
    "h": 129.2
  },
  "luminance": 0.73539
}

Semantic roles & 50–950 ramp

primary
#B1F257
secondary
#6B30BE
accent
#03E261
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B1F257

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

Preview Lab → · Contrast checker → · Palette generator →

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