#B2C87F#B2C87F

#B2C87F is a light, moderate yellow-green. Relative luminance 0.523; OKLCH L 79.9% C 0.100 H 122.3°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#B2C87F
RGBrgb(178, 200, 127)
HSLhsl(78, 40%, 64%)
HSVhsv(78, 37%, 78%)
CMYKcmyk(11%, 0%, 36.5%, 21.6%)
CIE-LABlab(77.46, -19.48, 34.09)
CIE-LCHlch(77.46, 39.27, 119.75°)
OKLaboklab(79.89% -0.0532 0.0841)
OKLCHoklch(79.89% 0.1 122.3)
XYZxyz(42.8449, 52.3058, 27.9134)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C87F #957FC8
analogous
#C8BA7F #B2C87F #8EC87F
triadic
#B2C87F #7FB2C8 #C87FB2
tetradic
#B2C87F #7FC8BA #957FC8 #C87F8E
square
#B2C87F #7FC8BA #957FC8 #C87F8E
split-complementary
#B2C87F #7F8EC8 #BA7FC8
monochromatic
#778F3D #98B654 #B2C87F #CCDAAA #E6EDD5

Accessibility & contrast

On white

1.83
#B2C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#B2C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C87F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C87F#FFFFFF#000000##000000
##B2C87F1.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07A
Deuteranopia (green-blind)
#CDBF83
Tritanopia (blue-blind)
#B8C1B6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c87f;
/* rgb */ color: rgb(178, 200, 127);
/* oklch */ color: oklch(79.9% 0.100 122.3);
Tailwind
colors: {
  custom: {
    50: '#cad8a5',
    500: '#b2c87f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c87f;
$custom-light: #cad8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c87f",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 78.082,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79886,
    "c": 0.09951,
    "h": 122.3
  },
  "luminance": 0.52306
}

Semantic roles & 50–950 ramp

primary
#B2C87F
secondary
#695596
accent
#33B359
background
#FEFEFC
surface
#FAFBF6
border
#D3D4D0
text
#13140F
muted
#838380

Preview Lab

Preview with #B2C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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