#7EA04C#7EA04C

#7EA04C is a light, moderate yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.119 H 127.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7EA04C
RGBrgb(126, 160, 76)
HSLhsl(84, 36%, 46%)
HSVhsv(84, 53%, 63%)
CMYKcmyk(21.2%, 0%, 52.5%, 37.3%)
CIE-LABlab(61.74, -25.87, 39.60)
CIE-LCHlch(61.74, 47.30, 123.16°)
OKLaboklab(66.12% -0.0724 0.0941)
OKLCHoklch(66.12% 0.119 127.6)
XYZxyz(22.4794, 30.0987, 11.4614)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA04C #6E4CA0
analogous
#A0984C #7EA04C #54A04C
triadic
#7EA04C #4C7EA0 #A04C7E
tetradic
#7EA04C #4CA098 #6E4CA0 #A04C54
square
#7EA04C #4CA098 #6E4CA0 #A04C54
split-complementary
#7EA04C #4C54A0 #984CA0
monochromatic
#3D4D25 #5D7738 #7EA04C #9CBA6F #B8CE98

Accessibility & contrast

On white

2.99
#7EA04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7EA04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA04C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA04C#FFFFFF#000000##000000
##7EA04C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79744
Deuteranopia (green-blind)
#A29451
Tritanopia (blue-blind)
#829A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea04c;
/* rgb */ color: rgb(126, 160, 76);
/* oklch */ color: oklch(66.1% 0.119 127.6);
Tailwind
colors: {
  custom: {
    50: '#a5bc80',
    500: '#7ea04c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea04c;
$custom-light: #a5bc80;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea04c",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 76
  },
  "hsl": {
    "h": 84.286,
    "s": 35.593,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66124,
    "c": 0.11867,
    "h": 127.6
  },
  "luminance": 0.30099
}

Semantic roles & 50–950 ramp

primary
#7EA04C
secondary
#A08DBB
accent
#5CCC89
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA04C

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

Preview Lab → · Contrast checker → · Palette generator →

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