#7EA040#7EA040

#7EA040 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 66.0% C 0.130 H 126.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7EA040
RGBrgb(126, 160, 64)
HSLhsl(81, 43%, 44%)
HSVhsv(81, 60%, 63%)
CMYKcmyk(21.2%, 0%, 60%, 37.3%)
CIE-LABlab(61.61, -27.06, 45.21)
CIE-LCHlch(61.61, 52.69, 120.90°)
OKLaboklab(65.98% -0.0767 0.105)
OKLCHoklch(65.98% 0.13 126.2)
XYZxyz(22.1004, 29.9471, 9.4655)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA040 #6240A0
analogous
#A09240 #7EA040 #4EA040
triadic
#7EA040 #407EA0 #A0407E
tetradic
#7EA040 #40A092 #6240A0 #A0404E
square
#7EA040 #40A092 #6240A0 #A0404E
split-complementary
#7EA040 #404EA0 #9240A0
monochromatic
#39491D #5C742F #7EA040 #9DBF5E #B7D08A

Accessibility & contrast

On white

3.00
#7EA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7EA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA040
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA040#FFFFFF#000000##000000
##7EA0401.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#A39447
Tritanopia (blue-blind)
#83998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea040;
/* rgb */ color: rgb(126, 160, 64);
/* oklch */ color: oklch(66.0% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#a6bc78',
    500: '#7ea040',
    950: '#000000',
  },
}
SCSS
$custom: #7ea040;
$custom-light: #a6bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea040",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 81.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.13002,
    "h": 126.2
  },
  "luminance": 0.29947
}

Semantic roles & 50–950 ramp

primary
#7EA040
secondary
#9581BB
accent
#55D382
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA040

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

Preview Lab → · Contrast checker → · Palette generator →

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