#7EB342#7EB342

#7EB342 is a light, vivid yellow-green. Relative luminance 0.371; OKLCH L 70.6% C 0.154 H 130.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7EB342
RGBrgb(126, 179, 66)
HSLhsl(88, 46%, 48%)
HSVhsv(88, 63%, 70%)
CMYKcmyk(29.6%, 0%, 63.1%, 29.8%)
CIE-LABlab(67.33, -35.82, 50.65)
CIE-LCHlch(67.33, 62.04, 125.27°)
OKLaboklab(70.62% -0.1007 0.1168)
OKLCHoklch(70.62% 0.154 130.8)
XYZxyz(25.7074, 37.0684, 10.9537)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB342 #7742B3
analogous
#B3AF42 #7EB342 #45B342
triadic
#7EB342 #427EB3 #B3427E
tetradic
#7EB342 #42B3AF #7742B3 #B34245
square
#7EB342 #42B3AF #7742B3 #B34245
split-complementary
#7EB342 #4245B3 #AF42B3
monochromatic
#3F5A21 #5F8632 #7EB342 #9CC86A #BAD997

Accessibility & contrast

On white

2.50
#7EB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#7EB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB342
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB342#FFFFFF#000000##000000
##7EB3421.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA634
Deuteranopia (green-blind)
#B3A34B
Tritanopia (blue-blind)
#80AC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb342;
/* rgb */ color: rgb(126, 179, 66);
/* oklch */ color: oklch(70.6% 0.154 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7ca7b',
    500: '#7eb342',
    950: '#000000',
  },
}
SCSS
$custom: #7eb342;
$custom-light: #a7ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb342",
  "rgb": {
    "r": 126,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 88.142,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70616,
    "c": 0.15422,
    "h": 130.8
  },
  "luminance": 0.37069
}

Semantic roles & 50–950 ramp

primary
#7EB342
secondary
#A78CC4
accent
#52D690
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB342

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

Preview Lab → · Contrast checker → · Palette generator →

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