#7C985E#7C985E

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

Color values

HEX#7C985E
RGBrgb(124, 152, 94)
HSLhsl(89, 24%, 48%)
HSVhsv(89, 38%, 60%)
CMYKcmyk(18.4%, 0%, 38.2%, 40.4%)
CIE-LABlab(59.48, -20.41, 27.38)
CIE-LCHlch(59.48, 34.14, 126.70°)
OKLaboklab(64.35% -0.0558 0.0676)
OKLCHoklch(64.35% 0.088 129.6)
XYZxyz(21.5605, 27.5494, 14.7692)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C985E #7A5E98
analogous
#98975E #7C985E #5F985E
triadic
#7C985E #5E7C98 #985E7C
tetradic
#7C985E #5E9897 #7A5E98 #985E5F
square
#7C985E #5E9897 #7A5E98 #985E5F
split-complementary
#7C985E #5E5F98 #975E98
monochromatic
#3E4C2F #5D7247 #7C985E #9AB282 #B9C9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C985E#FFFFFF#000000##000000
##7C985E1.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)
#9D915A
Deuteranopia (green-blind)
#998F61
Tritanopia (blue-blind)
#7E9389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c985e;
/* rgb */ color: rgb(124, 152, 94);
/* oklch */ color: oklch(64.4% 0.088 129.6);
Tailwind
colors: {
  custom: {
    50: '#a3b68c',
    500: '#7c985e',
    950: '#000000',
  },
}
SCSS
$custom: #7c985e;
$custom-light: #a3b68c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c985e",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 88.966,
    "s": 23.577,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.08766,
    "h": 129.6
  },
  "luminance": 0.2755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C985E

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

Preview Lab → · Contrast checker → · Palette generator →

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