#B2FA5F#B2FA5F

#B2FA5F is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.8% C 0.198 H 130.6°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#B2FA5F
RGBrgb(178, 250, 95)
HSLhsl(88, 94%, 68%)
HSVhsv(88, 62%, 98%)
CMYKcmyk(28.8%, 0%, 62%, 2%)
CIE-LABlab(91.08, -45.88, 65.29)
CIE-LCHlch(91.08, 79.80, 125.10°)
OKLaboklab(90.75% -0.1291 0.1504)
OKLCHoklch(90.75% 0.198 130.6)
XYZxyz(54.6108, 78.6608, 23.1300)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2FA5F #A75FFA
analogous
#FAF45F #B2FA5F #64FA5F
triadic
#B2FA5F #5FB2FA #FA5FB2
tetradic
#B2FA5F #5FFAF4 #A75FFA #FA5F64
square
#B2FA5F #5FFAF4 #A75FFA #FA5F64
split-complementary
#B2FA5F #5F64FA #F45FFA
monochromatic
#77D807 #95F824 #B2FA5F #CFFC9A #EBFED6

Accessibility & contrast

On white

1.26
#B2FA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#B2FA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2FA5F
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2FA5F#FFFFFF#000000##000000
##B2FA5F1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE94C
Deuteranopia (green-blind)
#FAE46B
Tritanopia (blue-blind)
#B6F0DA
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #b2fa5f;
/* rgb */ color: rgb(178, 250, 95);
/* oklch */ color: oklch(90.8% 0.198 130.6);
Tailwind
colors: {
  custom: {
    50: '#cdfc92',
    500: '#b2fa5f',
    950: '#000000',
  },
}
SCSS
$custom: #b2fa5f;
$custom-light: #cdfc92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2fa5f",
  "rgb": {
    "r": 178,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 87.871,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9075,
    "c": 0.19823,
    "h": 130.6
  },
  "luminance": 0.78662
}

Semantic roles & 50–950 ramp

primary
#B2FA5F
secondary
#792BD2
accent
#00E66B
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2FA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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