#B2C778#B2C778

#B2C778 is a light, moderate yellow-green. Relative luminance 0.517; OKLCH L 79.5% C 0.106 H 121.0°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#B2C778
RGBrgb(178, 199, 120)
HSLhsl(76, 41%, 63%)
HSVhsv(76, 40%, 78%)
CMYKcmyk(10.6%, 0%, 39.7%, 22%)
CIE-LABlab(77.08, -19.85, 37.18)
CIE-LCHlch(77.08, 42.15, 118.10°)
OKLaboklab(79.55% -0.0546 0.0909)
OKLCHoklch(79.55% 0.106 121)
XYZxyz(42.1737, 51.6679, 25.5168)
Luminance0.5167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C778 #8D78C7
analogous
#C7B478 #B2C778 #8BC778
triadic
#B2C778 #78B2C7 #C778B2
tetradic
#B2C778 #78C7B4 #8D78C7 #C7788B
square
#B2C778 #78C7B4 #8D78C7 #C7788B
split-complementary
#B2C778 #788BC7 #B478C7
monochromatic
#758B3A #99B54D #B2C778 #CBD9A3 #E3EBCF

Accessibility & contrast

On white

1.85
#B2C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#B2C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C778
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C778#FFFFFF#000000##000000
##B2C7781.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF72
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#B8C0B4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b2c778;
/* rgb */ color: rgb(178, 199, 120);
/* oklch */ color: oklch(79.5% 0.106 121.0);
Tailwind
colors: {
  custom: {
    50: '#cad8a0',
    500: '#b2c778',
    950: '#000000',
  },
}
SCSS
$custom: #b2c778;
$custom-light: #cad8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c778",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 75.949,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79547,
    "c": 0.10606,
    "h": 121
  },
  "luminance": 0.51668
}

Semantic roles & 50–950 ramp

primary
#B2C778
secondary
#625192
accent
#31B454
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140F
muted
#838380

Preview Lab

Preview with #B2C778

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

Preview Lab → · Contrast checker → · Palette generator →

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