#B2F870#B2F870

#B2F870 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.5% C 0.182 H 131.8°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#B2F870
RGBrgb(178, 248, 112)
HSLhsl(91, 91%, 71%)
HSVhsv(91, 55%, 97%)
CMYKcmyk(28.2%, 0%, 54.8%, 2.7%)
CIE-LABlab(90.67, -43.52, 57.58)
CIE-LCHlch(90.67, 72.18, 127.08°)
OKLaboklab(90.47% -0.1213 0.1357)
OKLCHoklch(90.47% 0.182 131.8)
XYZxyz(54.8514, 77.7680, 27.4468)
Luminance0.7777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F870 #B670F8
analogous
#F6F870 #B2F870 #70F872
triadic
#B2F870 #70B2F8 #F870B2
tetradic
#B2F870 #70F6F8 #B670F8 #F87270
square
#B2F870 #70F6F8 #B670F8 #F87270
split-complementary
#B2F870 #7270F8 #F870F6
monochromatic
#74E30B #93F536 #B2F870 #D1FBAA #EFFEE2

Accessibility & contrast

On white

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

On black

16.55
#B2F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F870
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F870#FFFFFF#000000##000000
##B2F8701.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#F8E279
Tritanopia (blue-blind)
#B4EFDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #b2f870;
/* rgb */ color: rgb(178, 248, 112);
/* oklch */ color: oklch(90.5% 0.182 131.8);
Tailwind
colors: {
  custom: {
    50: '#ccfb9d',
    500: '#b2f870',
    950: '#000000',
  },
}
SCSS
$custom: #b2f870;
$custom-light: #ccfb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f870",
  "rgb": {
    "r": 178,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 90.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9047,
    "c": 0.18195,
    "h": 131.8
  },
  "luminance": 0.7777
}

Semantic roles & 50–950 ramp

primary
#B2F870
secondary
#8839D3
accent
#00E676
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #B2F870

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

Preview Lab → · Contrast checker → · Palette generator →

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