#7EA422#7EA422

#7EA422 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.156 H 125.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7EA422
RGBrgb(126, 164, 34)
HSLhsl(78, 66%, 39%)
HSVhsv(78, 79%, 64%)
CMYKcmyk(23.2%, 0%, 79.3%, 35.7%)
CIE-LABlab(62.59, -30.99, 57.95)
CIE-LCHlch(62.59, 65.72, 118.13°)
OKLaboklab(66.7% -0.0901 0.1274)
OKLCHoklch(66.7% 0.156 125.3)
XYZxyz(22.1686, 31.1017, 6.3484)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA422 #4822A4
analogous
#A48922 #7EA422 #3DA422
triadic
#7EA422 #227EA4 #A4227E
tetradic
#7EA422 #22A489 #4822A4 #A4223D
square
#7EA422 #22A489 #4822A4 #A4223D
split-complementary
#7EA422 #223DA4 #8922A4
monochromatic
#303F0D #577117 #7EA422 #A4D42F #BADE62

Accessibility & contrast

On white

2.91
#7EA422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7EA422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA422
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA422#FFFFFF#000000##000000
##7EA4221.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A8972F
Tritanopia (blue-blind)
#849C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea422;
/* rgb */ color: rgb(126, 164, 34);
/* oklch */ color: oklch(66.7% 0.156 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bf69',
    500: '#7ea422',
    950: '#000000',
  },
}
SCSS
$custom: #7ea422;
$custom-light: #a7bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea422",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 34
  },
  "hsl": {
    "h": 77.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.15607,
    "h": 125.3
  },
  "luminance": 0.31102
}

Semantic roles & 50–950 ramp

primary
#7EA422
secondary
#7C5EC4
accent
#3FE971
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA422

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

Preview Lab → · Contrast checker → · Palette generator →

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