#7EA122#7EA122

#7EA122 is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.0% C 0.152 H 124.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7EA122
RGBrgb(126, 161, 34)
HSLhsl(77, 65%, 38%)
HSVhsv(77, 79%, 63%)
CMYKcmyk(21.7%, 0%, 78.9%, 36.9%)
CIE-LABlab(61.69, -29.57, 57.12)
CIE-LCHlch(61.69, 64.32, 117.37°)
OKLaboklab(65.97% -0.0863 0.1257)
OKLCHoklch(65.97% 0.152 124.5)
XYZxyz(21.6380, 30.0406, 6.1715)
Luminance0.3004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA122 #4522A1
analogous
#A18422 #7EA122 #3FA122
triadic
#7EA122 #227EA1 #A1227E
tetradic
#7EA122 #22A184 #4522A1 #A1223F
square
#7EA122 #22A184 #4522A1 #A1223F
split-complementary
#7EA122 #223FA1 #8422A1
monochromatic
#2F3C0D #566E17 #7EA122 #A5D32D #BBDD60

Accessibility & contrast

On white

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

On black

7.01
#7EA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA122
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA122#FFFFFF#000000##000000
##7EA1221.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea122;
/* rgb */ color: rgb(126, 161, 34);
/* oklch */ color: oklch(66.0% 0.152 124.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd68',
    500: '#7ea122',
    950: '#000000',
  },
}
SCSS
$custom: #7ea122;
$custom-light: #a7bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea122",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 76.535,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.15241,
    "h": 124.5
  },
  "luminance": 0.30041
}

Semantic roles & 50–950 ramp

primary
#7EA122
secondary
#795DC2
accent
#40E86E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA122

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

Preview Lab → · Contrast checker → · Palette generator →

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