#7F986B#7F986B

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

Color values

HEX#7F986B
RGBrgb(127, 152, 107)
HSLhsl(93, 18%, 51%)
HSVhsv(93, 30%, 60%)
CMYKcmyk(16.4%, 0%, 29.6%, 40.4%)
CIE-LABlab(59.92, -17.31, 20.87)
CIE-LCHlch(59.92, 27.11, 129.67°)
OKLaboklab(64.83% -0.0469 0.0526)
OKLCHoklch(64.83% 0.07 131.7)
XYZxyz(22.6340, 28.0297, 18.1249)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F986B #846B98
analogous
#95986B #7F986B #6B986D
triadic
#7F986B #6B7F98 #986B7F
tetradic
#7F986B #6B9598 #846B98 #986D6B
square
#7F986B #6B9598 #846B98 #986D6B
split-complementary
#7F986B #6D6B98 #986B95
monochromatic
#435138 #617551 #7F986B #9EB18F #BDCAB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F986B#FFFFFF#000000##000000
##7F986B1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f986b;
/* rgb */ color: rgb(127, 152, 107);
/* oklch */ color: oklch(64.8% 0.070 131.7);
Tailwind
colors: {
  custom: {
    50: '#a4b695',
    500: '#7f986b',
    950: '#000000',
  },
}
SCSS
$custom: #7f986b;
$custom-light: #a4b695;
$custom-dark: #000000;
JSON
{
  "hex": "#7f986b",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 93.333,
    "s": 17.928,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6483,
    "c": 0.07042,
    "h": 131.7
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F986B

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

Preview Lab → · Contrast checker → · Palette generator →

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