#B2F271#B2F271

#B2F271 is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.1% C 0.173 H 131.1°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#B2F271
RGBrgb(178, 242, 113)
HSLhsl(90, 83%, 70%)
HSVhsv(90, 53%, 95%)
CMYKcmyk(26.4%, 0%, 53.3%, 5.1%)
CIE-LABlab(89.00, -40.80, 55.17)
CIE-LCHlch(89.00, 68.61, 126.48°)
OKLaboklab(89.12% -0.1137 0.1305)
OKLCHoklch(89.12% 0.173 131.1)
XYZxyz(53.0922, 74.1601, 27.1367)
Luminance0.7416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F271 #B171F2
analogous
#F2F171 #B2F271 #72F271
triadic
#B2F271 #71B2F2 #F271B2
tetradic
#B2F271 #71F2F1 #B171F2 #F27172
square
#B2F271 #71F2F1 #B171F2 #F27172
split-complementary
#B2F271 #7172F2 #F171F2
monochromatic
#75D514 #94ED39 #B2F271 #D0F7A9 #EFFCE1

Accessibility & contrast

On white

1.33
#B2F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#B2F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F271
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F271#FFFFFF#000000##000000
##B2F2711.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE365
Deuteranopia (green-blind)
#F2DE79
Tritanopia (blue-blind)
#B5E9D5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #b2f271;
/* rgb */ color: rgb(178, 242, 113);
/* oklch */ color: oklch(89.1% 0.173 131.1);
Tailwind
colors: {
  custom: {
    50: '#ccf69d',
    500: '#b2f271',
    950: '#000000',
  },
}
SCSS
$custom: #b2f271;
$custom-light: #ccf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f271",
  "rgb": {
    "r": 178,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 89.767,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89115,
    "c": 0.17306,
    "h": 131.1
  },
  "luminance": 0.74161
}

Semantic roles & 50–950 ramp

primary
#B2F271
secondary
#833CCB
accent
#06E072
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #B2F271

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

Preview Lab → · Contrast checker → · Palette generator →

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