#7D985E#7D985E

#7D985E is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.087 H 128.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7D985E
RGBrgb(125, 152, 94)
HSLhsl(88, 24%, 48%)
HSVhsv(88, 38%, 60%)
CMYKcmyk(17.8%, 0%, 38.2%, 40.4%)
CIE-LABlab(59.55, -20.02, 27.48)
CIE-LCHlch(59.55, 34.00, 126.07°)
OKLaboklab(64.43% -0.0548 0.0678)
OKLCHoklch(64.43% 0.087 128.9)
XYZxyz(21.7058, 27.6243, 14.7760)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D985E #795E98
analogous
#98965E #7D985E #60985E
triadic
#7D985E #5E7D98 #985E7D
tetradic
#7D985E #5E9896 #795E98 #985E60
square
#7D985E #5E9896 #795E98 #985E60
split-complementary
#7D985E #5E6098 #965E98
monochromatic
#3F4C2F #5E7247 #7D985E #9BB282 #B9C9A8

Accessibility & contrast

On white

3.22
#7D985E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7D985E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D985E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D985E#FFFFFF#000000##000000
##7D985E1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D915A
Deuteranopia (green-blind)
#998F61
Tritanopia (blue-blind)
#7F9389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d985e;
/* rgb */ color: rgb(125, 152, 94);
/* oklch */ color: oklch(64.4% 0.087 128.9);
Tailwind
colors: {
  custom: {
    50: '#a3b68c',
    500: '#7d985e',
    950: '#000000',
  },
}
SCSS
$custom: #7d985e;
$custom-light: #a3b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d985e",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 87.931,
    "s": 23.577,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64425,
    "c": 0.08718,
    "h": 128.9
  },
  "luminance": 0.27625
}

Semantic roles & 50–950 ramp

primary
#7D985E
secondary
#A89BB7
accent
#68C091
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7D985E

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

Preview Lab → · Contrast checker → · Palette generator →

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