#7E986A#7E986A

#7E986A is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.7% C 0.072 H 132.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E986A
RGBrgb(126, 152, 106)
HSLhsl(94, 18%, 51%)
HSVhsv(94, 30%, 60%)
CMYKcmyk(17.1%, 0%, 30.3%, 40.4%)
CIE-LABlab(59.83, -17.84, 21.29)
CIE-LCHlch(59.83, 27.78, 129.97°)
OKLaboklab(64.74% -0.0484 0.0536)
OKLCHoklch(64.74% 0.072 132.1)
XYZxyz(22.4335, 27.9324, 17.8425)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E986A #846A98
analogous
#95986A #7E986A #6A986D
triadic
#7E986A #6A7E98 #986A7E
tetradic
#7E986A #6A9598 #846A98 #986D6A
square
#7E986A #6A9598 #846A98 #986D6A
split-complementary
#7E986A #6D6A98 #986A95
monochromatic
#425037 #607450 #7E986A #9DB18E #BDCAB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E986A#FFFFFF#000000##000000
##7E986A1.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)
#9C9167
Deuteranopia (green-blind)
#988F6C
Tritanopia (blue-blind)
#7F948C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e986a;
/* rgb */ color: rgb(126, 152, 106);
/* oklch */ color: oklch(64.7% 0.072 132.1);
Tailwind
colors: {
  custom: {
    50: '#a4b695',
    500: '#7e986a',
    950: '#000000',
  },
}
SCSS
$custom: #7e986a;
$custom-light: #a4b695;
$custom-dark: #000000;
JSON
{
  "hex": "#7e986a",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 106
  },
  "hsl": {
    "h": 93.913,
    "s": 18.254,
    "l": 50.588
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.07217,
    "h": 132.1
  },
  "luminance": 0.27933
}

Semantic roles & 50–950 ramp

primary
#7E986A
secondary
#B0A5B9
accent
#6DBB99
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7E986A

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

Preview Lab → · Contrast checker → · Palette generator →

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