#7F985E#7F985E

#7F985E is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.6% C 0.086 H 127.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F985E
RGBrgb(127, 152, 94)
HSLhsl(86, 24%, 48%)
HSVhsv(86, 38%, 60%)
CMYKcmyk(16.4%, 0%, 38.2%, 40.4%)
CIE-LABlab(59.69, -19.23, 27.68)
CIE-LCHlch(59.69, 33.71, 124.79°)
OKLaboklab(64.57% -0.0526 0.0683)
OKLCHoklch(64.57% 0.086 127.6)
XYZxyz(22.0008, 27.7764, 14.7898)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F985E #775E98
analogous
#98945E #7F985E #62985E
triadic
#7F985E #5E7F98 #985E7F
tetradic
#7F985E #5E9894 #775E98 #985E62
square
#7F985E #5E9894 #775E98 #985E62
split-complementary
#7F985E #5E6298 #945E98
monochromatic
#404C2F #5F7247 #7F985E #9DB282 #BBC9A8

Accessibility & contrast

On white

3.20
#7F985E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#7F985E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F985E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F985E#FFFFFF#000000##000000
##7F985E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E915A
Deuteranopia (green-blind)
#9A8F61
Tritanopia (blue-blind)
#829389
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f985e;
/* rgb */ color: rgb(127, 152, 94);
/* oklch */ color: oklch(64.6% 0.086 127.6);
Tailwind
colors: {
  custom: {
    50: '#a5b68c',
    500: '#7f985e',
    950: '#000000',
  },
}
SCSS
$custom: #7f985e;
$custom-light: #a5b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f985e",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 85.862,
    "s": 23.577,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64571,
    "c": 0.08623,
    "h": 127.6
  },
  "luminance": 0.27777
}

Semantic roles & 50–950 ramp

primary
#7F985E
secondary
#A79BB7
accent
#68C08E
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7F985E

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

Preview Lab → · Contrast checker → · Palette generator →

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