#7EA22E#7EA22E

#7EA22E is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.147 H 125.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7EA22E
RGBrgb(126, 162, 46)
HSLhsl(79, 56%, 41%)
HSVhsv(79, 72%, 64%)
CMYKcmyk(22.2%, 0%, 71.6%, 36.5%)
CIE-LABlab(62.06, -29.39, 53.32)
CIE-LCHlch(62.06, 60.88, 118.87°)
OKLaboklab(66.29% -0.0848 0.1196)
OKLCHoklch(66.29% 0.147 125.3)
XYZxyz(22.0178, 30.4733, 7.3062)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA22E #522EA2
analogous
#A28C2E #7EA22E #44A22E
triadic
#7EA22E #2E7EA2 #A22E7E
tetradic
#7EA22E #2EA28C #522EA2 #A22E44
square
#7EA22E #2EA28C #522EA2 #A22E44
split-complementary
#7EA22E #2E44A2 #8C2EA2
monochromatic
#344313 #597220 #7EA22E #A0CA43 #B8D773

Accessibility & contrast

On white

2.96
#7EA22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7EA22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA22E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA22E#FFFFFF#000000##000000
##7EA22E1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971A
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea22e;
/* rgb */ color: rgb(126, 162, 46);
/* oklch */ color: oklch(66.3% 0.147 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7ea22e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea22e;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea22e",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 78.621,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.14663,
    "h": 125.3
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#7EA22E
secondary
#866DBF
accent
#49DF77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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