#7C985D#7C985D

#7C985D is a light, moderate yellow-green. Relative luminance 0.275; OKLCH L 64.3% C 0.089 H 129.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7C985D
RGBrgb(124, 152, 93)
HSLhsl(88, 24%, 48%)
HSVhsv(88, 39%, 60%)
CMYKcmyk(18.4%, 0%, 38.8%, 40.4%)
CIE-LABlab(59.46, -20.55, 27.90)
CIE-LCHlch(59.46, 34.65, 126.37°)
OKLaboklab(64.33% -0.0563 0.0688)
OKLCHoklch(64.33% 0.089 129.3)
XYZxyz(21.5159, 27.5316, 14.5344)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C985D #795D98
analogous
#98975D #7C985D #5E985D
triadic
#7C985D #5D7C98 #985D7C
tetradic
#7C985D #5D9897 #795D98 #985D5E
square
#7C985D #5D9897 #795D98 #985D5E
split-complementary
#7C985D #5D5E98 #975D98
monochromatic
#3E4C2F #5D7246 #7C985D #9AB281 #B9C9A7

Accessibility & contrast

On white

3.23
#7C985D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C985D#FFFFFF#000000##000000
##7C985D1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9059
Deuteranopia (green-blind)
#998F60
Tritanopia (blue-blind)
#7E9389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c985d;
/* rgb */ color: rgb(124, 152, 93);
/* oklch */ color: oklch(64.3% 0.089 129.3);
Tailwind
colors: {
  custom: {
    50: '#a3b68b',
    500: '#7c985d',
    950: '#000000',
  },
}
SCSS
$custom: #7c985d;
$custom-light: #a3b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c985d",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 88.475,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.08884,
    "h": 129.3
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#7C985D
secondary
#A89AB7
accent
#67C192
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110C
muted
#7F807D

Preview Lab

Preview with #7C985D

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

Preview Lab → · Contrast checker → · Palette generator →

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