#7E984D#7E984D

#7E984D is a light, moderate yellow-green. Relative luminance 0.274; OKLCH L 64.2% C 0.106 H 125.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7E984D
RGBrgb(126, 152, 77)
HSLhsl(81, 33%, 45%)
HSVhsv(81, 49%, 60%)
CMYKcmyk(17.1%, 0%, 49.3%, 40.4%)
CIE-LABlab(59.37, -21.77, 36.24)
CIE-LCHlch(59.37, 42.28, 120.99°)
OKLaboklab(64.22% -0.0608 0.0867)
OKLCHoklch(64.22% 0.106 125)
XYZxyz(21.1719, 27.4277, 11.1984)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E984D #674D98
analogous
#988D4D #7E984D #59984D
triadic
#7E984D #4D7E98 #984D7E
tetradic
#7E984D #4D988D #674D98 #984D59
square
#7E984D #4D988D #674D98 #984D59
split-complementary
#7E984D #4D5998 #8D4D98
monochromatic
#3B4724 #5C6F38 #7E984D #9CB56D #B8CA96

Accessibility & contrast

On white

3.24
#7E984D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#7E984D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E984D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E984D#FFFFFF#000000##000000
##7E984D1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9047
Deuteranopia (green-blind)
#9B8F51
Tritanopia (blue-blind)
#829287
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e984d;
/* rgb */ color: rgb(126, 152, 77);
/* oklch */ color: oklch(64.2% 0.106 125.0);
Tailwind
colors: {
  custom: {
    50: '#a5b680',
    500: '#7e984d',
    950: '#000000',
  },
}
SCSS
$custom: #7e984d;
$custom-light: #a5b680;
$custom-dark: #000000;
JSON
{
  "hex": "#7e984d",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 77
  },
  "hsl": {
    "h": 80.8,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64217,
    "c": 0.10593,
    "h": 125
  },
  "luminance": 0.27428
}

Semantic roles & 50–950 ramp

primary
#7E984D
secondary
#9A8BB6
accent
#5FC984
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E984D

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

Preview Lab → · Contrast checker → · Palette generator →

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