#B2F162#B2F162

#B2F162 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 88.7% C 0.184 H 129.6°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#B2F162
RGBrgb(178, 241, 98)
HSLhsl(86, 84%, 66%)
HSVhsv(86, 59%, 95%)
CMYKcmyk(26.1%, 0%, 59.3%, 5.5%)
CIE-LABlab(88.57, -41.74, 61.26)
CIE-LCHlch(88.57, 74.13, 124.27°)
OKLaboklab(88.72% -0.1174 0.1422)
OKLCHoklch(88.72% 0.184 129.6)
XYZxyz(52.0196, 73.2561, 22.9520)
Luminance0.7326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2F162 #A162F1
analogous
#F1E962 #B2F162 #6BF162
triadic
#B2F162 #62B2F1 #F162B2
tetradic
#B2F162 #62F1E9 #A162F1 #F1626B
square
#B2F162 #62F1E9 #A162F1 #F1626B
split-complementary
#B2F162 #626BF1 #E962F1
monochromatic
#77C712 #96EC2A #B2F162 #CEF69A #E9FBD2

Accessibility & contrast

On white

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

On black

15.65
#B2F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2F162
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2F162#FFFFFF#000000##000000
##B2F1621.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE152
Deuteranopia (green-blind)
#F3DD6C
Tritanopia (blue-blind)
#B6E7D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #b2f162;
/* rgb */ color: rgb(178, 241, 98);
/* oklch */ color: oklch(88.7% 0.184 129.6);
Tailwind
colors: {
  custom: {
    50: '#ccf694',
    500: '#b2f162',
    950: '#000000',
  },
}
SCSS
$custom: #b2f162;
$custom-light: #ccf694;
$custom-dark: #000000;
JSON
{
  "hex": "#b2f162",
  "rgb": {
    "r": 178,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 86.434,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88721,
    "c": 0.18445,
    "h": 129.6
  },
  "luminance": 0.73257
}

Semantic roles & 50–950 ramp

primary
#B2F162
secondary
#7333C4
accent
#05E066
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #B2F162

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

Preview Lab → · Contrast checker → · Palette generator →

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