#B7C778#B7C778

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

Color values

HEX#B7C778
RGBrgb(183, 199, 120)
HSLhsl(72, 41%, 63%)
HSVhsv(72, 40%, 78%)
CMYKcmyk(8%, 0%, 39.7%, 22%)
CIE-LABlab(77.44, -17.92, 37.71)
CIE-LCHlch(77.44, 41.75, 115.41°)
OKLaboklab(79.93% -0.0493 0.0921)
OKLCHoklch(79.93% 0.104 118.2)
XYZxyz(43.3422, 52.2704, 25.5716)
Luminance0.5227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C778 #8878C7
analogous
#C7AF78 #B7C778 #8FC778
triadic
#B7C778 #78B7C7 #C778B7
tetradic
#B7C778 #78C7AF #8878C7 #C7788F
square
#B7C778 #78C7AF #8878C7 #C7788F
split-complementary
#B7C778 #788FC7 #AF78C7
monochromatic
#7A8B3A #A0B54D #B7C778 #CED9A3 #E5EBCF

Accessibility & contrast

On white

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

On black

11.45
#B7C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C778
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C778#FFFFFF#000000##000000
##B7C7781.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF72
Deuteranopia (green-blind)
#CFC07C
Tritanopia (blue-blind)
#BEBFB4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b7c778;
/* rgb */ color: rgb(183, 199, 120);
/* oklch */ color: oklch(79.9% 0.104 118.2);
Tailwind
colors: {
  custom: {
    50: '#ced8a0',
    500: '#b7c778',
    950: '#000000',
  },
}
SCSS
$custom: #b7c778;
$custom-light: #ced8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c778",
  "rgb": {
    "r": 183,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 72.152,
    "s": 41.361,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79925,
    "c": 0.10448,
    "h": 118.2
  },
  "luminance": 0.5227
}

Semantic roles & 50–950 ramp

primary
#B7C778
secondary
#5E5192
accent
#31B44C
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #B7C778

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

Preview Lab → · Contrast checker → · Palette generator →

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