#B2E978#B2E978

#B2E978 is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.2% C 0.154 H 130.4°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#B2E978
RGBrgb(178, 233, 120)
HSLhsl(89, 72%, 69%)
HSVhsv(89, 48%, 91%)
CMYKcmyk(23.6%, 0%, 48.5%, 8.6%)
CIE-LABlab(86.55, -36.03, 49.00)
CIE-LCHlch(86.55, 60.82, 126.33°)
OKLaboklab(87.16% -0.1 0.1175)
OKLCHoklch(87.16% 0.154 130.4)
XYZxyz(50.8886, 69.0978, 28.4218)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2E978 #AF78E9
analogous
#E9E878 #B2E978 #7AE978
triadic
#B2E978 #78B2E9 #E978B2
tetradic
#B2E978 #78E9E8 #AF78E9 #E9787A
square
#B2E978 #78E9E8 #AF78E9 #E9787A
split-complementary
#B2E978 #787AE9 #E878E9
monochromatic
#76C620 #94E043 #B2E978 #D0F2AD #EEFAE1

Accessibility & contrast

On white

1.42
#B2E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#B2E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2E978
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2E978#FFFFFF#000000##000000
##B2E9781.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6E
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#B5E1CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #b2e978;
/* rgb */ color: rgb(178, 233, 120);
/* oklch */ color: oklch(87.2% 0.154 130.4);
Tailwind
colors: {
  custom: {
    50: '#cbf0a1',
    500: '#b2e978',
    950: '#000000',
  },
}
SCSS
$custom: #b2e978;
$custom-light: #cbf0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b2e978",
  "rgb": {
    "r": 178,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 89.204,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87162,
    "c": 0.15424,
    "h": 130.4
  },
  "luminance": 0.69099
}

Semantic roles & 50–950 ramp

primary
#B2E978
secondary
#8144C1
accent
#11D470
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #B2E978

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

Preview Lab → · Contrast checker → · Palette generator →

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