#7E984E#7E984E

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

Color values

HEX#7E984E
RGBrgb(126, 152, 78)
HSLhsl(81, 32%, 45%)
HSVhsv(81, 49%, 60%)
CMYKcmyk(17.1%, 0%, 48.7%, 40.4%)
CIE-LABlab(59.38, -21.66, 35.74)
CIE-LCHlch(59.38, 41.79, 121.21°)
OKLaboklab(64.23% -0.0604 0.0857)
OKLCHoklch(64.23% 0.105 125.2)
XYZxyz(21.2075, 27.4420, 11.3858)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E984E #684E98
analogous
#988D4E #7E984E #59984E
triadic
#7E984E #4E7E98 #984E7E
tetradic
#7E984E #4E988D #684E98 #984E59
square
#7E984E #4E988D #684E98 #984E59
split-complementary
#7E984E #4E5998 #8D4E98
monochromatic
#3B4724 #5C7039 #7E984E #9CB56E #B8CA97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E984E#FFFFFF#000000##000000
##7E984E1.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)
#9F9048
Deuteranopia (green-blind)
#9B8F52
Tritanopia (blue-blind)
#829287
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e984e;
/* rgb */ color: rgb(126, 152, 78);
/* oklch */ color: oklch(64.2% 0.105 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5b681',
    500: '#7e984e',
    950: '#000000',
  },
}
SCSS
$custom: #7e984e;
$custom-light: #a5b681;
$custom-dark: #000000;
JSON
{
  "hex": "#7e984e",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 78
  },
  "hsl": {
    "h": 81.081,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64232,
    "c": 0.10486,
    "h": 125.2
  },
  "luminance": 0.27442
}

Semantic roles & 50–950 ramp

primary
#7E984E
secondary
#9B8CB6
accent
#5FC884
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E984E

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

Preview Lab → · Contrast checker → · Palette generator →

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