#7EB42E#7EB42E

#7EB42E is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.7% C 0.169 H 129.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7EB42E
RGBrgb(126, 180, 46)
HSLhsl(84, 59%, 44%)
HSVhsv(84, 74%, 71%)
CMYKcmyk(30%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.48, -37.70, 58.66)
CIE-LCHlch(67.48, 69.73, 122.73°)
OKLaboklab(70.69% -0.1075 0.1308)
OKLCHoklch(70.69% 0.169 129.4)
XYZxyz(25.4185, 37.2747, 8.4397)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB42E #642EB4
analogous
#B4A72E #7EB42E #3BB42E
triadic
#7EB42E #2E7EB4 #B42E7E
tetradic
#7EB42E #2EB4A7 #642EB4 #B42E3B
square
#7EB42E #2EB4A7 #642EB4 #B42E3B
split-complementary
#7EB42E #2E3BB4 #A72EB4
monochromatic
#3A5315 #5C8322 #7EB42E #9CD24E #B7DE7E

Accessibility & contrast

On white

2.48
#7EB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7EB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB42E
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB42E#FFFFFF#000000##000000
##7EB42E1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA712
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#82AC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb42e;
/* rgb */ color: rgb(126, 180, 46);
/* oklch */ color: oklch(70.7% 0.169 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8ca70',
    500: '#7eb42e',
    950: '#000000',
  },
}
SCSS
$custom: #7eb42e;
$custom-light: #a8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb42e",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 84.179,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.16933,
    "h": 129.4
  },
  "luminance": 0.37275
}

Semantic roles & 50–950 ramp

primary
#7EB42E
secondary
#9777C7
accent
#45E285
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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