#7D984C#7D984C

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

Color values

HEX#7D984C
RGBrgb(125, 152, 76)
HSLhsl(81, 33%, 45%)
HSVhsv(81, 50%, 60%)
CMYKcmyk(17.8%, 0%, 50%, 40.4%)
CIE-LABlab(59.29, -22.28, 36.64)
CIE-LCHlch(59.29, 42.88, 121.31°)
OKLaboklab(64.13% -0.0623 0.0876)
OKLCHoklch(64.13% 0.107 125.4)
XYZxyz(20.9901, 27.3381, 11.0070)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D984C #674C98
analogous
#988D4C #7D984C #57984C
triadic
#7D984C #4C7D98 #984C7D
tetradic
#7D984C #4C988D #674C98 #984C57
square
#7D984C #4C988D #674C98 #984C57
split-complementary
#7D984C #4C5798 #8D4C98
monochromatic
#3A4623 #5B6F38 #7D984C #9BB56C #B7CA95

Accessibility & contrast

On white

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

On black

6.47
#7D984C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D984C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D984C#FFFFFF#000000##000000
##7D984C1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d984c;
/* rgb */ color: rgb(125, 152, 76);
/* oklch */ color: oklch(64.1% 0.107 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4b680',
    500: '#7d984c',
    950: '#000000',
  },
}
SCSS
$custom: #7d984c;
$custom-light: #a4b680;
$custom-dark: #000000;
JSON
{
  "hex": "#7d984c",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 76
  },
  "hsl": {
    "h": 81.316,
    "s": 33.333,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64129,
    "c": 0.10744,
    "h": 125.4
  },
  "luminance": 0.27338
}

Semantic roles & 50–950 ramp

primary
#7D984C
secondary
#998AB6
accent
#5EC984
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7D984C

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

Preview Lab → · Contrast checker → · Palette generator →

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