#7EA720#7EA720

#7EA720 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.4% C 0.161 H 126.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7EA720
RGBrgb(126, 167, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24.6%, 0%, 80.8%, 34.5%)
CIE-LABlab(63.49, -32.48, 59.36)
CIE-LCHlch(63.49, 67.67, 118.69°)
OKLaboklab(67.43% -0.0943 0.1301)
OKLCHoklch(67.43% 0.161 126)
XYZxyz(22.6838, 32.1770, 6.3819)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA720 #4920A7
analogous
#A78D20 #7EA720 #3BA720
triadic
#7EA720 #207EA7 #A7207E
tetradic
#7EA720 #20A78D #4920A7 #A7203B
square
#7EA720 #20A78D #4920A7 #A7203B
split-complementary
#7EA720 #203BA7 #8D20A7
monochromatic
#31400C #577416 #7EA720 #A3D72D #BAE161

Accessibility & contrast

On white

2.82
#7EA720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#7EA720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA720
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA720#FFFFFF#000000##000000
##7EA7201.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#849F8E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea720;
/* rgb */ color: rgb(126, 167, 32);
/* oklch */ color: oklch(67.4% 0.161 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7c168',
    500: '#7ea720',
    950: '#000000',
  },
}
SCSS
$custom: #7ea720;
$custom-light: #a7c168;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea720",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 78.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67426,
    "c": 0.16066,
    "h": 126
  },
  "luminance": 0.32177
}

Semantic roles & 50–950 ramp

primary
#7EA720
secondary
#7D5DC5
accent
#3DEB72
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA720

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

Preview Lab → · Contrast checker → · Palette generator →

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