#B2D786#B2D786

#B2D786 is a very light, moderate yellow-green. Relative luminance 0.598; OKLCH L 83.3% C 0.114 H 128.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#B2D786
RGBrgb(178, 215, 134)
HSLhsl(87, 50%, 68%)
HSVhsv(87, 38%, 84%)
CMYKcmyk(17.2%, 0%, 37.7%, 15.7%)
CIE-LABlab(81.72, -25.93, 36.05)
CIE-LCHlch(81.72, 44.41, 125.73°)
OKLaboklab(83.33% -0.071 0.0889)
OKLCHoklch(83.33% 0.114 128.6)
XYZxyz(46.9630, 59.7865, 31.6154)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D786 #AB86D7
analogous
#D7D386 #B2D786 #89D786
triadic
#B2D786 #86B2D7 #D786B2
tetradic
#B2D786 #86D7D3 #AB86D7 #D78689
square
#B2D786 #86D7D3 #AB86D7 #D78689
split-complementary
#B2D786 #8689D7 #D386D7
monochromatic
#76AA38 #95C858 #B2D786 #CFE6B4 #EDF5E2

Accessibility & contrast

On white

1.62
#B2D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#B2D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D786
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D786#FFFFFF#000000##000000
##B2D7861.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD80
Deuteranopia (green-blind)
#D9CA8A
Tritanopia (blue-blind)
#B5D0C3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d786;
/* rgb */ color: rgb(178, 215, 134);
/* oklch */ color: oklch(83.3% 0.114 128.6);
Tailwind
colors: {
  custom: {
    50: '#cae3aa',
    500: '#b2d786',
    950: '#000000',
  },
}
SCSS
$custom: #b2d786;
$custom-light: #cae3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d786",
  "rgb": {
    "r": 178,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 87.407,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83334,
    "c": 0.11374,
    "h": 128.6
  },
  "luminance": 0.59787
}

Semantic roles & 50–950 ramp

primary
#B2D786
secondary
#7D54AD
accent
#28BE6C
background
#FEFEFD
surface
#FAFCF7
border
#D3D5D0
text
#131510
muted
#838481

Preview Lab

Preview with #B2D786

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

Preview Lab → · Contrast checker → · Palette generator →

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