#B2F781#B2F781

#B2F781 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.5% C 0.165 H 133.6°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#B2F781
RGBrgb(178, 247, 129)
HSLhsl(95, 88%, 74%)
HSVhsv(95, 48%, 97%)
CMYKcmyk(27.9%, 0%, 47.8%, 3.1%)
CIE-LABlab(90.58, -41.29, 49.68)
CIE-LCHlch(90.58, 64.60, 129.73°)
OKLaboklab(90.46% -0.114 0.1196)
OKLCHoklch(90.46% 0.165 133.6)
XYZxyz(55.5822, 77.5697, 32.8086)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F781 #C681F7
analogous
#EDF781 #B2F781 #81F78B
triadic
#B2F781 #81B2F7 #F781B2
tetradic
#B2F781 #81EDF7 #C681F7 #F78B81
square
#B2F781 #81EDF7 #C681F7 #F78B81
split-complementary
#B2F781 #8B81F7 #F781ED
monochromatic
#6CEE0F #8FF347 #B2F781 #D5FBBB #EDFDE2

Accessibility & contrast

On white

1.27
#B2F781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#B2F781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F781
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F781#FFFFFF#000000##000000
##B2F7811.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#F5E288
Tritanopia (blue-blind)
#B3EFDB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #b2f781;
/* rgb */ color: rgb(178, 247, 129);
/* oklch */ color: oklch(90.5% 0.165 133.6);
Tailwind
colors: {
  custom: {
    50: '#ccfaa8',
    500: '#b2f781',
    950: '#000000',
  },
}
SCSS
$custom: #b2f781;
$custom-light: #ccfaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f781",
  "rgb": {
    "r": 178,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 95.085,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.90458,
    "c": 0.16516,
    "h": 133.6
  },
  "luminance": 0.77571
}

Semantic roles & 50–950 ramp

primary
#B2F781
secondary
#9A49D4
accent
#01E586
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#141710
muted
#838581

Preview Lab

Preview with #B2F781

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

Preview Lab → · Contrast checker → · Palette generator →

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