#B2C787#B2C787

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

Color values

HEX#B2C787
RGBrgb(178, 199, 135)
HSLhsl(80, 36%, 65%)
HSVhsv(80, 32%, 78%)
CMYKcmyk(10.6%, 0%, 32.2%, 22%)
CIE-LABlab(77.32, -17.93, 29.76)
CIE-LCHlch(77.32, 34.74, 121.07°)
OKLaboklab(79.81% -0.0485 0.0742)
OKLCHoklch(79.81% 0.089 123.2)
XYZxyz(43.1563, 52.0610, 30.6922)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C787 #9C87C7
analogous
#C7BC87 #B2C787 #92C787
triadic
#B2C787 #87B2C7 #C787B2
tetradic
#B2C787 #87C7BC #9C87C7 #C78792
square
#B2C787 #87C7BC #9C87C7 #C78792
split-complementary
#B2C787 #8792C7 #BC87C7
monochromatic
#779043 #97B45D #B2C787 #CDDAB1 #E8EEDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C787#FFFFFF#000000##000000
##B2C7871.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)
#CEC083
Deuteranopia (green-blind)
#CBBF8A
Tritanopia (blue-blind)
#B7C1B6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c787;
/* rgb */ color: rgb(178, 199, 135);
/* oklch */ color: oklch(79.8% 0.089 123.2);
Tailwind
colors: {
  custom: {
    50: '#c9d8aa',
    500: '#b2c787',
    950: '#000000',
  },
}
SCSS
$custom: #b2c787;
$custom-light: #c9d8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c787",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 135
  },
  "hsl": {
    "h": 79.688,
    "s": 36.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.79812,
    "c": 0.08864,
    "h": 123.2
  },
  "luminance": 0.52061
}

Semantic roles & 50–950 ramp

primary
#B2C787
secondary
#6F5A98
accent
#36AF5E
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #B2C787

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

Preview Lab → · Contrast checker → · Palette generator →

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