#B2D857#B2D857

#B2D857 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 82.9% C 0.161 H 123.7°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#B2D857
RGBrgb(178, 216, 87)
HSLhsl(78, 62%, 59%)
HSVhsv(78, 60%, 85%)
CMYKcmyk(17.6%, 0%, 59.7%, 15.3%)
CIE-LABlab(81.44, -31.34, 58.02)
CIE-LCHlch(81.44, 65.94, 118.38°)
OKLaboklab(82.92% -0.0896 0.1341)
OKLCHoklch(82.92% 0.161 123.7)
XYZxyz(44.6365, 59.2646, 18.1026)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D857 #7D57D8
analogous
#D8BD57 #B2D857 #72D857
triadic
#B2D857 #57B2D8 #D857B2
tetradic
#B2D857 #57D8BD #7D57D8 #D85772
square
#B2D857 #57D8BD #7D57D8 #D85772
split-complementary
#B2D857 #5772D8 #BD57D8
monochromatic
#719322 #98C42E #B2D857 #C9E489 #E0EFBA

Accessibility & contrast

On white

1.63
#B2D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#B2D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D857
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D857#FFFFFF#000000##000000
##B2D8571.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB48
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#BACEBC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b2d857;
/* rgb */ color: rgb(178, 216, 87);
/* oklch */ color: oklch(82.9% 0.161 123.7);
Tailwind
colors: {
  custom: {
    50: '#cce48b',
    500: '#b2d857',
    950: '#000000',
  },
}
SCSS
$custom: #b2d857;
$custom-light: #cce48b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d857",
  "rgb": {
    "r": 178,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 77.674,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82921,
    "c": 0.16127,
    "h": 123.7
  },
  "luminance": 0.59265
}

Semantic roles & 50–950 ramp

primary
#B2D857
secondary
#573C98
accent
#42E572
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D857

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

Preview Lab → · Contrast checker → · Palette generator →

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