#B2E958#B2E958

#B2E958 is a very light, vivid yellow-green. Relative luminance 0.684; OKLCH L 86.8% C 0.182 H 127.5°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#B2E958
RGBrgb(178, 233, 88)
HSLhsl(83, 77%, 63%)
HSVhsv(83, 62%, 91%)
CMYKcmyk(23.6%, 0%, 62.2%, 8.6%)
CIE-LABlab(86.23, -39.02, 62.86)
CIE-LCHlch(86.23, 73.98, 121.83°)
OKLaboklab(86.8% -0.1108 0.1445)
OKLCHoklch(86.8% 0.182 127.5)
XYZxyz(49.2604, 68.4465, 19.8468)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E958 #8F58E9
analogous
#E9D858 #B2E958 #69E958
triadic
#B2E958 #58B2E9 #E958B2
tetradic
#B2E958 #58E9D8 #8F58E9 #E95869
square
#B2E958 #58E9D8 #8F58E9 #E95869
split-complementary
#B2E958 #5869E9 #D858E9
monochromatic
#76AF17 #99E222 #B2E958 #CBF08E #E4F7C4

Accessibility & contrast

On white

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

On black

14.69
#B2E958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E958
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E958#FFFFFF#000000##000000
##B2E9581.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA46
Deuteranopia (green-blind)
#ECD763
Tritanopia (blue-blind)
#B8DFCB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #b2e958;
/* rgb */ color: rgb(178, 233, 88);
/* oklch */ color: oklch(86.8% 0.182 127.5);
Tailwind
colors: {
  custom: {
    50: '#ccf08d',
    500: '#b2e958',
    950: '#000000',
  },
}
SCSS
$custom: #b2e958;
$custom-light: #ccf08d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e958",
  "rgb": {
    "r": 178,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 82.759,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86797,
    "c": 0.18205,
    "h": 127.5
  },
  "luminance": 0.68447
}

Semantic roles & 50–950 ramp

primary
#B2E958
secondary
#6435B0
accent
#0DD95A
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #B2E958

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

Preview Lab → · Contrast checker → · Palette generator →

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