#B2D581#B2D581

#B2D581 is a very light, moderate yellow-green. Relative luminance 0.586; OKLCH L 82.8% C 0.116 H 127.2°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#B2D581
RGBrgb(178, 213, 129)
HSLhsl(85, 50%, 67%)
HSVhsv(85, 39%, 84%)
CMYKcmyk(16.4%, 0%, 39.4%, 16.5%)
CIE-LABlab(81.09, -25.61, 37.76)
CIE-LCHlch(81.09, 45.63, 124.14°)
OKLaboklab(82.8% -0.0703 0.0926)
OKLCHoklch(82.8% 0.116 127.2)
XYZxyz(46.1163, 58.6380, 29.6533)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D581 #A481D5
analogous
#D5CE81 #B2D581 #88D581
triadic
#B2D581 #81B2D5 #D581B2
tetradic
#B2D581 #81D5CE #A481D5 #D58188
square
#B2D581 #81D5CE #A481D5 #D58188
split-complementary
#B2D581 #8188D5 #CE81D5
monochromatic
#77A537 #96C653 #B2D581 #CEE4AF #EAF4DD

Accessibility & contrast

On white

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

On black

12.73
#B2D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D581
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D581#FFFFFF#000000##000000
##B2D5811.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7B
Deuteranopia (green-blind)
#D8C985
Tritanopia (blue-blind)
#B6CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #b2d581;
/* rgb */ color: rgb(178, 213, 129);
/* oklch */ color: oklch(82.8% 0.116 127.2);
Tailwind
colors: {
  custom: {
    50: '#cae2a6',
    500: '#b2d581',
    950: '#000000',
  },
}
SCSS
$custom: #b2d581;
$custom-light: #cae2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d581",
  "rgb": {
    "r": 178,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 85,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82804,
    "c": 0.1163,
    "h": 127.2
  },
  "luminance": 0.58638
}

Semantic roles & 50–950 ramp

primary
#B2D581
secondary
#7651A9
accent
#28BD66
background
#FEFEFC
surface
#FAFCF6
border
#D3D5D0
text
#13150F
muted
#838480

Preview Lab

Preview with #B2D581

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

Preview Lab → · Contrast checker → · Palette generator →

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