#7E986D#7E986D

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

Color values

HEX#7E986D
RGBrgb(126, 152, 109)
HSLhsl(96, 17%, 51%)
HSVhsv(96, 28%, 60%)
CMYKcmyk(17.1%, 0%, 28.3%, 40.4%)
CIE-LABlab(59.88, -17.37, 19.71)
CIE-LCHlch(59.88, 26.27, 131.38°)
OKLaboklab(64.8% -0.047 0.0498)
OKLCHoklch(64.8% 0.069 133.4)
XYZxyz(22.5922, 27.9959, 18.6785)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E986D #876D98
analogous
#93986D #7E986D #6D9871
triadic
#7E986D #6D7E98 #986D7E
tetradic
#7E986D #6D9398 #876D98 #98716D
square
#7E986D #6D9398 #876D98 #98716D
split-complementary
#7E986D #716D98 #986D93
monochromatic
#435139 #607553 #7E986D #9EB191 #BDCBB5

Accessibility & contrast

On white

3.18
#7E986D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7E986D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E986D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E986D#FFFFFF#000000##000000
##7E986D1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C926A
Deuteranopia (green-blind)
#98906F
Tritanopia (blue-blind)
#7F958D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e986d;
/* rgb */ color: rgb(126, 152, 109);
/* oklch */ color: oklch(64.8% 0.069 133.4);
Tailwind
colors: {
  custom: {
    50: '#a4b697',
    500: '#7e986d',
    950: '#000000',
  },
}
SCSS
$custom: #7e986d;
$custom-light: #a4b697;
$custom-dark: #000000;
JSON
{
  "hex": "#7e986d",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 109
  },
  "hsl": {
    "h": 96.279,
    "s": 17.269,
    "l": 51.176
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.0685,
    "h": 133.4
  },
  "luminance": 0.27996
}

Semantic roles & 50–950 ramp

primary
#7E986D
secondary
#B2A7BA
accent
#6EBA9C
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#0F110D
muted
#7F807E

Preview Lab

Preview with #7E986D

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

Preview Lab → · Contrast checker → · Palette generator →

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