#7EA04F#7EA04F

#7EA04F is a light, moderate yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.116 H 128.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7EA04F
RGBrgb(126, 160, 79)
HSLhsl(85, 34%, 47%)
HSVhsv(85, 51%, 63%)
CMYKcmyk(21.2%, 0%, 50.6%, 37.3%)
CIE-LABlab(61.78, -25.54, 38.14)
CIE-LCHlch(61.78, 45.91, 123.81°)
OKLaboklab(66.16% -0.0712 0.0911)
OKLCHoklch(66.16% 0.116 128)
XYZxyz(22.5861, 30.1414, 12.0235)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA04F #714FA0
analogous
#A09A4F #7EA04F #56A04F
triadic
#7EA04F #4F7EA0 #A04F7E
tetradic
#7EA04F #4FA09A #714FA0 #A04F56
square
#7EA04F #4FA09A #714FA0 #A04F56
split-complementary
#7EA04F #4F56A0 #9A4FA0
monochromatic
#3D4E27 #5E773B #7EA04F #9CBA73 #B9CE9C

Accessibility & contrast

On white

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

On black

7.03
#7EA04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA04F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA04F#FFFFFF#000000##000000
##7EA04F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79748
Deuteranopia (green-blind)
#A29554
Tritanopia (blue-blind)
#819A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea04f;
/* rgb */ color: rgb(126, 160, 79);
/* oklch */ color: oklch(66.2% 0.116 128.0);
Tailwind
colors: {
  custom: {
    50: '#a5bc82',
    500: '#7ea04f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea04f;
$custom-light: #a5bc82;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea04f",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 85.185,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66165,
    "c": 0.11562,
    "h": 128
  },
  "luminance": 0.30142
}

Semantic roles & 50–950 ramp

primary
#7EA04F
secondary
#A290BB
accent
#5ECA8B
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA04F

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

Preview Lab → · Contrast checker → · Palette generator →

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