#B2C786#B2C786

#B2C786 is a light, moderate yellow-green. Relative luminance 0.520; OKLCH L 79.8% C 0.090 H 123.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#B2C786
RGBrgb(178, 199, 134)
HSLhsl(79, 37%, 65%)
HSVhsv(79, 33%, 78%)
CMYKcmyk(10.6%, 0%, 32.7%, 22%)
CIE-LABlab(77.30, -18.06, 30.26)
CIE-LCHlch(77.30, 35.24, 120.84°)
OKLaboklab(79.79% -0.0489 0.0754)
OKLCHoklch(79.79% 0.09 123)
XYZxyz(43.0863, 52.0330, 30.3231)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C786 #9B86C7
analogous
#C7BC86 #B2C786 #91C786
triadic
#B2C786 #86B2C7 #C786B2
tetradic
#B2C786 #86C7BC #9B86C7 #C78691
square
#B2C786 #86C7BC #9B86C7 #C78691
split-complementary
#B2C786 #8691C7 #BC86C7
monochromatic
#779043 #97B45C #B2C786 #CDDAB0 #E7EEDA

Accessibility & contrast

On white

1.84
#B2C786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#B2C786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C786
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C786#FFFFFF#000000##000000
##B2C7861.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF82
Deuteranopia (green-blind)
#CCBF89
Tritanopia (blue-blind)
#B7C1B6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c786;
/* rgb */ color: rgb(178, 199, 134);
/* oklch */ color: oklch(79.8% 0.090 123.0);
Tailwind
colors: {
  custom: {
    50: '#c9d8aa',
    500: '#b2c786',
    950: '#000000',
  },
}
SCSS
$custom: #b2c786;
$custom-light: #c9d8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c786",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 79.385,
    "s": 36.723,
    "l": 65.294
  },
  "oklch": {
    "l": 0.79793,
    "c": 0.08983,
    "h": 123
  },
  "luminance": 0.52033
}

Semantic roles & 50–950 ramp

primary
#B2C786
secondary
#6E5A98
accent
#36B05D
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #B2C786

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

Preview Lab → · Contrast checker → · Palette generator →

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