#B2D587#B2D587

#B2D587 is a very light, moderate yellow-green. Relative luminance 0.588; OKLCH L 82.9% C 0.110 H 128.3°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#B2D587
RGBrgb(178, 213, 135)
HSLhsl(87, 48%, 68%)
HSVhsv(87, 37%, 84%)
CMYKcmyk(16.4%, 0%, 36.6%, 16.5%)
CIE-LABlab(81.18, -24.83, 34.84)
CIE-LCHlch(81.18, 42.79, 125.48°)
OKLaboklab(82.91% -0.0679 0.0861)
OKLCHoklch(82.91% 0.11 128.3)
XYZxyz(46.5269, 58.8022, 31.8157)
Luminance0.5880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D587 #AA87D5
analogous
#D5D187 #B2D587 #8BD587
triadic
#B2D587 #87B2D5 #D587B2
tetradic
#B2D587 #87D5D1 #AA87D5 #D5878B
square
#B2D587 #87D5D1 #AA87D5 #D5878B
split-complementary
#B2D587 #878BD5 #D187D5
monochromatic
#76A73A #95C55A #B2D587 #CFE5B4 #ECF5E2

Accessibility & contrast

On white

1.65
#B2D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#B2D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D587
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D587#FFFFFF#000000##000000
##B2D5871.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCB81
Deuteranopia (green-blind)
#D7C98B
Tritanopia (blue-blind)
#B5CEC1
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b2d587;
/* rgb */ color: rgb(178, 213, 135);
/* oklch */ color: oklch(82.9% 0.110 128.3);
Tailwind
colors: {
  custom: {
    50: '#cae2ab',
    500: '#b2d587',
    950: '#000000',
  },
}
SCSS
$custom: #b2d587;
$custom-light: #cae2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d587",
  "rgb": {
    "r": 178,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 86.923,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.82906,
    "c": 0.10964,
    "h": 128.3
  },
  "luminance": 0.58803
}

Semantic roles & 50–950 ramp

primary
#B2D587
secondary
#7C55AB
accent
#2ABB6B
background
#FEFEFD
surface
#FAFCF7
border
#D3D5D0
text
#131510
muted
#838481

Preview Lab

Preview with #B2D587

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

Preview Lab → · Contrast checker → · Palette generator →

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