#B2E962#B2E962

#B2E962 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 86.9% C 0.174 H 128.2°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#B2E962
RGBrgb(178, 233, 98)
HSLhsl(84, 75%, 65%)
HSVhsv(84, 58%, 91%)
CMYKcmyk(23.6%, 0%, 57.9%, 8.6%)
CIE-LABlab(86.32, -38.20, 58.73)
CIE-LCHlch(86.32, 70.06, 123.04°)
OKLaboklab(86.9% -0.1076 0.1368)
OKLCHoklch(86.9% 0.174 128.2)
XYZxyz(49.7034, 68.6237, 22.1800)
Luminance0.6863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E962 #9962E9
analogous
#E9DC62 #B2E962 #6FE962
triadic
#B2E962 #62B2E9 #E962B2
tetradic
#B2E962 #62E9DC #9962E9 #E9626F
square
#B2E962 #62E9DC #9962E9 #E9626F
split-complementary
#B2E962 #626FE9 #DC62E9
monochromatic
#77B71A #98E12C #B2E962 #CCF198 #E7F8CD

Accessibility & contrast

On white

1.43
#B2E962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#B2E962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E962
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E962#FFFFFF#000000##000000
##B2E9621.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA53
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#B7DFCC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #b2e962;
/* rgb */ color: rgb(178, 233, 98);
/* oklch */ color: oklch(86.9% 0.174 128.2);
Tailwind
colors: {
  custom: {
    50: '#ccf093',
    500: '#b2e962',
    950: '#000000',
  },
}
SCSS
$custom: #b2e962;
$custom-light: #ccf093;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e962",
  "rgb": {
    "r": 178,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 84.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86896,
    "c": 0.17408,
    "h": 128.2
  },
  "luminance": 0.68625
}

Semantic roles & 50–950 ramp

primary
#B2E962
secondary
#6C38B7
accent
#0ED860
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #B2E962

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

Preview Lab → · Contrast checker → · Palette generator →

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