#7D985B#7D985B

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

Color values

HEX#7D985B
RGBrgb(125, 152, 91)
HSLhsl(87, 25%, 48%)
HSVhsv(87, 40%, 60%)
CMYKcmyk(17.8%, 0%, 40.1%, 40.4%)
CIE-LABlab(59.50, -20.43, 29.03)
CIE-LCHlch(59.50, 35.50, 125.13°)
OKLaboklab(64.37% -0.0561 0.0713)
OKLCHoklch(64.37% 0.091 128.2)
XYZxyz(21.5738, 27.5715, 14.0807)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D985B #765B98
analogous
#98945B #7D985B #5F985B
triadic
#7D985B #5B7D98 #985B7D
tetradic
#7D985B #5B9894 #765B98 #985B5F
square
#7D985B #5B9894 #765B98 #985B5F
split-complementary
#7D985B #5B5F98 #945B98
monochromatic
#3E4B2D #5E7244 #7D985B #9BB27E #B9C9A5

Accessibility & contrast

On white

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

On black

6.51
#7D985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D985B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D985B#FFFFFF#000000##000000
##7D985B1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9056
Deuteranopia (green-blind)
#9A8F5E
Tritanopia (blue-blind)
#809389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d985b;
/* rgb */ color: rgb(125, 152, 91);
/* oklch */ color: oklch(64.4% 0.091 128.2);
Tailwind
colors: {
  custom: {
    50: '#a3b68a',
    500: '#7d985b',
    950: '#000000',
  },
}
SCSS
$custom: #7d985b;
$custom-light: #a3b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d985b",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 86.557,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64371,
    "c": 0.0907,
    "h": 128.2
  },
  "luminance": 0.27572
}

Semantic roles & 50–950 ramp

primary
#7D985B
secondary
#A698B7
accent
#66C28F
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7D985B

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

Preview Lab → · Contrast checker → · Palette generator →

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