#7C985B#7C985B

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

Color values

HEX#7C985B
RGBrgb(124, 152, 91)
HSLhsl(88, 25%, 48%)
HSVhsv(88, 40%, 60%)
CMYKcmyk(18.4%, 0%, 40.1%, 40.4%)
CIE-LABlab(59.43, -20.82, 28.93)
CIE-LCHlch(59.43, 35.64, 125.74°)
OKLaboklab(64.3% -0.0571 0.0711)
OKLCHoklch(64.3% 0.091 128.8)
XYZxyz(21.4285, 27.4966, 14.0739)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C985B #775B98
analogous
#98955B #7C985B #5D985B
triadic
#7C985B #5B7C98 #985B7C
tetradic
#7C985B #5B9895 #775B98 #985B5D
square
#7C985B #5B9895 #775B98 #985B5D
split-complementary
#7C985B #5B5D98 #955B98
monochromatic
#3E4B2D #5D7244 #7C985B #9AB27E #B8C9A5

Accessibility & contrast

On white

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

On black

6.50
#7C985B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C985B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C985B#FFFFFF#000000##000000
##7C985B1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c985b;
/* rgb */ color: rgb(124, 152, 91);
/* oklch */ color: oklch(64.3% 0.091 128.8);
Tailwind
colors: {
  custom: {
    50: '#a3b68a',
    500: '#7c985b',
    950: '#000000',
  },
}
SCSS
$custom: #7c985b;
$custom-light: #a3b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c985b",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 87.541,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.64298,
    "c": 0.09118,
    "h": 128.8
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C985B

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

Preview Lab → · Contrast checker → · Palette generator →

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