#7C984C#7C984C

#7C984C is a light, moderate yellow-green. Relative luminance 0.273; OKLCH L 64.1% C 0.108 H 126.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7C984C
RGBrgb(124, 152, 76)
HSLhsl(82, 33%, 45%)
HSVhsv(82, 50%, 60%)
CMYKcmyk(18.4%, 0%, 50%, 40.4%)
CIE-LABlab(59.22, -22.69, 36.54)
CIE-LCHlch(59.22, 43.01, 121.84°)
OKLaboklab(64.06% -0.0633 0.0873)
OKLCHoklch(64.06% 0.108 126)
XYZxyz(20.8449, 27.2631, 11.0002)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C984C #684C98
analogous
#988E4C #7C984C #56984C
triadic
#7C984C #4C7C98 #984C7C
tetradic
#7C984C #4C988E #684C98 #984C56
square
#7C984C #4C988E #684C98 #984C56
split-complementary
#7C984C #4C5698 #8E4C98
monochromatic
#394623 #5B6F38 #7C984C #9AB56C #B6CA95

Accessibility & contrast

On white

3.25
#7C984C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7C984C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C984C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C984C#FFFFFF#000000##000000
##7C984C1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9045
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#809286
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7c984c;
/* rgb */ color: rgb(124, 152, 76);
/* oklch */ color: oklch(64.1% 0.108 126.0);
Tailwind
colors: {
  custom: {
    50: '#a3b680',
    500: '#7c984c',
    950: '#000000',
  },
}
SCSS
$custom: #7c984c;
$custom-light: #a3b680;
$custom-dark: #000000;
JSON
{
  "hex": "#7c984c",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 76
  },
  "hsl": {
    "h": 82.105,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.1079,
    "h": 126
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#7C984C
secondary
#9A8AB6
accent
#5EC986
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7C984C

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

Preview Lab → · Contrast checker → · Palette generator →

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