#7E974A#7E974A

#7E974A is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.108 H 124.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E974A
RGBrgb(126, 151, 74)
HSLhsl(79, 34%, 44%)
HSVhsv(79, 51%, 59%)
CMYKcmyk(16.6%, 0%, 51%, 40.8%)
CIE-LABlab(59.03, -21.59, 37.36)
CIE-LCHlch(59.03, 43.15, 120.03°)
OKLaboklab(63.93% -0.0606 0.089)
OKLCHoklch(63.93% 0.108 124.2)
XYZxyz(20.9068, 27.0631, 10.5995)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E974A #634A97
analogous
#978A4A #7E974A #58974A
triadic
#7E974A #4A7E97 #974A7E
tetradic
#7E974A #4A978A #634A97 #974A58
square
#7E974A #4A978A #634A97 #974A58
split-complementary
#7E974A #4A5897 #8A4A97
monochromatic
#394522 #5C6E36 #7E974A #9DB569 #B7CA92

Accessibility & contrast

On white

3.27
#7E974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7E974A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E974A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E974A#FFFFFF#000000##000000
##7E974A1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F43
Deuteranopia (green-blind)
#9B8E4E
Tritanopia (blue-blind)
#839185
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e974a;
/* rgb */ color: rgb(126, 151, 74);
/* oklch */ color: oklch(63.9% 0.108 124.2);
Tailwind
colors: {
  custom: {
    50: '#a5b57e',
    500: '#7e974a',
    950: '#000000',
  },
}
SCSS
$custom: #7e974a;
$custom-light: #a5b57e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e974a",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 79.481,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63935,
    "c": 0.10764,
    "h": 124.2
  },
  "luminance": 0.27063
}

Semantic roles & 50–950 ramp

primary
#7E974A
secondary
#9687B6
accent
#5DCA81
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E974A

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

Preview Lab → · Contrast checker → · Palette generator →

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