#7EA142#7EA142

#7EA142 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.130 H 126.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7EA142
RGBrgb(126, 161, 66)
HSLhsl(82, 42%, 45%)
HSVhsv(82, 59%, 63%)
CMYKcmyk(21.7%, 0%, 59%, 36.9%)
CIE-LABlab(61.93, -27.36, 44.64)
CIE-LCHlch(61.93, 52.36, 121.51°)
OKLaboklab(66.24% -0.0774 0.104)
OKLCHoklch(66.24% 0.13 126.6)
XYZxyz(22.3324, 30.3184, 9.8287)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA142 #6542A1
analogous
#A19542 #7EA142 #4FA142
triadic
#7EA142 #427EA1 #A1427E
tetradic
#7EA142 #42A195 #6542A1 #A1424F
square
#7EA142 #42A195 #6542A1 #A1424F
split-complementary
#7EA142 #424FA1 #9542A1
monochromatic
#3A4A1E #5C7630 #7EA142 #9CBF62 #B8D08D

Accessibility & contrast

On white

2.97
#7EA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7EA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA142
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA142#FFFFFF#000000##000000
##7EA1421.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#A49548
Tritanopia (blue-blind)
#829A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea142;
/* rgb */ color: rgb(126, 161, 66);
/* oklch */ color: oklch(66.2% 0.130 126.6);
Tailwind
colors: {
  custom: {
    50: '#a6bd7a',
    500: '#7ea142',
    950: '#000000',
  },
}
SCSS
$custom: #7ea142;
$custom-light: #a6bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea142",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 82.105,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6624,
    "c": 0.12961,
    "h": 126.6
  },
  "luminance": 0.30319
}

Semantic roles & 50–950 ramp

primary
#7EA142
secondary
#9883BB
accent
#56D284
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA142

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

Preview Lab → · Contrast checker → · Palette generator →

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