#7F986D#7F986D

#7F986D is a light, moderate yellow-green. Relative luminance 0.281; OKLCH L 64.9% C 0.068 H 132.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7F986D
RGBrgb(127, 152, 109)
HSLhsl(95, 17%, 51%)
HSVhsv(95, 28%, 60%)
CMYKcmyk(16.4%, 0%, 28.3%, 40.4%)
CIE-LABlab(59.95, -16.99, 19.81)
CIE-LCHlch(59.95, 26.10, 130.61°)
OKLaboklab(64.87% -0.046 0.05)
OKLCHoklch(64.87% 0.068 132.6)
XYZxyz(22.7404, 28.0723, 18.6855)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F986D #866D98
analogous
#94986D #7F986D #6D9870
triadic
#7F986D #6D7F98 #986D7F
tetradic
#7F986D #6D9498 #866D98 #98706D
square
#7F986D #6D9498 #866D98 #98706D
split-complementary
#7F986D #706D98 #986D94
monochromatic
#435139 #617553 #7F986D #9EB191 #BECBB5

Accessibility & contrast

On white

3.17
#7F986D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7F986D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F986D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F986D#FFFFFF#000000##000000
##7F986D1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f986d;
/* rgb */ color: rgb(127, 152, 109);
/* oklch */ color: oklch(64.9% 0.068 132.6);
Tailwind
colors: {
  custom: {
    50: '#a4b697',
    500: '#7f986d',
    950: '#000000',
  },
}
SCSS
$custom: #7f986d;
$custom-light: #a4b697;
$custom-dark: #000000;
JSON
{
  "hex": "#7f986d",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 109
  },
  "hsl": {
    "h": 94.884,
    "s": 17.269,
    "l": 51.176
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.06796,
    "h": 132.6
  },
  "luminance": 0.28073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F986D

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

Preview Lab → · Contrast checker → · Palette generator →

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