#7EA242#7EA242

#7EA242 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.131 H 126.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7EA242
RGBrgb(126, 162, 66)
HSLhsl(83, 42%, 45%)
HSVhsv(83, 59%, 64%)
CMYKcmyk(22.2%, 0%, 59.3%, 36.5%)
CIE-LABlab(62.23, -27.85, 44.98)
CIE-LCHlch(62.23, 52.90, 121.76°)
OKLaboklab(66.48% -0.0787 0.1047)
OKLCHoklch(66.48% 0.131 126.9)
XYZxyz(22.5079, 30.6693, 9.8871)
Luminance0.3067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA242 #6642A2
analogous
#A29642 #7EA242 #4EA242
triadic
#7EA242 #427EA2 #A2427E
tetradic
#7EA242 #42A296 #6642A2 #A2424E
square
#7EA242 #42A296 #6642A2 #A2424E
split-complementary
#7EA242 #424EA2 #9642A2
monochromatic
#3A4B1F #5C7730 #7EA242 #9CBF62 #B8D18E

Accessibility & contrast

On white

2.94
#7EA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7EA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA242
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA242#FFFFFF#000000##000000
##7EA2421.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#A59649
Tritanopia (blue-blind)
#829B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea242;
/* rgb */ color: rgb(126, 162, 66);
/* oklch */ color: oklch(66.5% 0.131 126.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd7a',
    500: '#7ea242',
    950: '#000000',
  },
}
SCSS
$custom: #7ea242;
$custom-light: #a6bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea242",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 82.5,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.13101,
    "h": 126.9
  },
  "luminance": 0.3067
}

Semantic roles & 50–950 ramp

primary
#7EA242
secondary
#9984BC
accent
#56D284
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA242

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

Preview Lab → · Contrast checker → · Palette generator →

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