#7E986B#7E986B

#7E986B is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.8% C 0.071 H 132.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E986B
RGBrgb(126, 152, 107)
HSLhsl(95, 18%, 51%)
HSVhsv(95, 30%, 60%)
CMYKcmyk(17.1%, 0%, 29.6%, 40.4%)
CIE-LABlab(59.85, -17.69, 20.76)
CIE-LCHlch(59.85, 27.28, 130.42°)
OKLaboklab(64.76% -0.0479 0.0523)
OKLCHoklch(64.76% 0.071 132.5)
XYZxyz(22.4858, 27.9533, 18.1179)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E986B #856B98
analogous
#94986B #7E986B #6B986E
triadic
#7E986B #6B7E98 #986B7E
tetradic
#7E986B #6B9498 #856B98 #986E6B
square
#7E986B #6B9498 #856B98 #986E6B
split-complementary
#7E986B #6E6B98 #986B94
monochromatic
#425138 #607551 #7E986B #9DB18F #BDCAB3

Accessibility & contrast

On white

3.19
#7E986B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E986B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E986B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E986B#FFFFFF#000000##000000
##7E986B1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9268
Deuteranopia (green-blind)
#988F6D
Tritanopia (blue-blind)
#7F948C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e986b;
/* rgb */ color: rgb(126, 152, 107);
/* oklch */ color: oklch(64.8% 0.071 132.5);
Tailwind
colors: {
  custom: {
    50: '#a4b695',
    500: '#7e986b',
    950: '#000000',
  },
}
SCSS
$custom: #7e986b;
$custom-light: #a4b695;
$custom-dark: #000000;
JSON
{
  "hex": "#7e986b",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 94.667,
    "s": 17.928,
    "l": 50.784
  },
  "oklch": {
    "l": 0.64757,
    "c": 0.07095,
    "h": 132.5
  },
  "luminance": 0.27954
}

Semantic roles & 50–950 ramp

primary
#7E986B
secondary
#B1A5B9
accent
#6DBB9A
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7E986B

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

Preview Lab → · Contrast checker → · Palette generator →

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