#7D985F#7D985F

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

Color values

HEX#7D985F
RGBrgb(125, 152, 95)
HSLhsl(88, 23%, 48%)
HSVhsv(88, 38%, 60%)
CMYKcmyk(17.8%, 0%, 37.5%, 40.4%)
CIE-LABlab(59.56, -19.88, 26.96)
CIE-LCHlch(59.56, 33.49, 126.40°)
OKLaboklab(64.44% -0.0543 0.0667)
OKLCHoklch(64.44% 0.086 129.2)
XYZxyz(21.7509, 27.6424, 15.0138)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D985F #7A5F98
analogous
#98965F #7D985F #60985F
triadic
#7D985F #5F7D98 #985F7D
tetradic
#7D985F #5F9896 #7A5F98 #985F60
square
#7D985F #5F9896 #7A5F98 #985F60
split-complementary
#7D985F #5F6098 #965F98
monochromatic
#3F4D30 #5E7247 #7D985F #9BB183 #BAC9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D985F#FFFFFF#000000##000000
##7D985F1.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)
#9D915B
Deuteranopia (green-blind)
#998F62
Tritanopia (blue-blind)
#7F938A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d985f;
/* rgb */ color: rgb(125, 152, 95);
/* oklch */ color: oklch(64.4% 0.086 129.2);
Tailwind
colors: {
  custom: {
    50: '#a3b68d',
    500: '#7d985f',
    950: '#000000',
  },
}
SCSS
$custom: #7d985f;
$custom-light: #a3b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d985f",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 88.421,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.64444,
    "c": 0.08598,
    "h": 129.2
  },
  "luminance": 0.27643
}

Semantic roles & 50–950 ramp

primary
#7D985F
secondary
#A99CB7
accent
#68C092
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7D985F

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

Preview Lab → · Contrast checker → · Palette generator →

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