#7C986B#7C986B

#7C986B is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.6% C 0.072 H 134.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7C986B
RGBrgb(124, 152, 107)
HSLhsl(97, 18%, 51%)
HSVhsv(97, 30%, 60%)
CMYKcmyk(18.4%, 0%, 29.6%, 40.4%)
CIE-LABlab(59.71, -18.44, 20.56)
CIE-LCHlch(59.71, 27.62, 131.90°)
OKLaboklab(64.61% -0.05 0.0518)
OKLCHoklch(64.61% 0.072 134)
XYZxyz(22.1937, 27.8027, 18.1042)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C986B #876B98
analogous
#92986B #7C986B #6B9870
triadic
#7C986B #6B7C98 #986B7C
tetradic
#7C986B #6B9298 #876B98 #98706B
square
#7C986B #6B9298 #876B98 #98706B
split-complementary
#7C986B #706B98 #986B92
monochromatic
#415138 #5F7551 #7C986B #9CB18F #BCCAB3

Accessibility & contrast

On white

3.20
#7C986B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#7C986B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C986B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C986B#FFFFFF#000000##000000
##7C986B1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9168
Deuteranopia (green-blind)
#978F6D
Tritanopia (blue-blind)
#7C948C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c986b;
/* rgb */ color: rgb(124, 152, 107);
/* oklch */ color: oklch(64.6% 0.072 134.0);
Tailwind
colors: {
  custom: {
    50: '#a2b695',
    500: '#7c986b',
    950: '#000000',
  },
}
SCSS
$custom: #7c986b;
$custom-light: #a2b695;
$custom-dark: #000000;
JSON
{
  "hex": "#7c986b",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 97.333,
    "s": 17.928,
    "l": 50.784
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.07203,
    "h": 134
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#7C986B
secondary
#B2A5B9
accent
#6DBB9D
background
#FAFBF9
surface
#F3F6F1
border
#CDD0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7C986B

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

Preview Lab → · Contrast checker → · Palette generator →

#7C986B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva