#7EC538#7EC538

#7EC538 is a light, vivid yellow-green. Relative luminance 0.447; OKLCH L 74.9% C 0.185 H 132.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7EC538
RGBrgb(126, 197, 56)
HSLhsl(90, 56%, 50%)
HSVhsv(90, 72%, 77%)
CMYKcmyk(36%, 0%, 71.6%, 22.7%)
CIE-LABlab(72.66, -44.46, 60.24)
CIE-LCHlch(72.66, 74.87, 126.43°)
OKLaboklab(74.94% -0.1251 0.1356)
OKLCHoklch(74.94% 0.185 132.7)
XYZxyz(29.2838, 44.6524, 10.8164)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC538 #7F38C5
analogous
#C4C538 #7EC538 #38C539
triadic
#7EC538 #387EC5 #C5387E
tetradic
#7EC538 #38C4C5 #7F38C5 #C53938
square
#7EC538 #38C4C5 #7F38C5 #C53938
split-complementary
#7EC538 #3938C5 #C538C4
monochromatic
#41661D #60952A #7EC538 #9DD467 #BBE196

Accessibility & contrast

On white

2.11
#7EC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#7EC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC538
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC538#FFFFFF#000000##000000
##7EC5381.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61F
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#7FBDA9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7ec538;
/* rgb */ color: rgb(126, 197, 56);
/* oklch */ color: oklch(74.9% 0.185 132.7);
Tailwind
colors: {
  custom: {
    50: '#a9d777',
    500: '#7ec538',
    950: '#000000',
  },
}
SCSS
$custom: #7ec538;
$custom-light: #a9d777;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec538",
  "rgb": {
    "r": 126,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 90.213,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.18452,
    "h": 132.7
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#7EC538
secondary
#AD8CCD
accent
#49DF94
background
#FAFDF7
surface
#F4FAEE
border
#CED3C9
text
#101409
muted
#7F837B

Preview Lab

Preview with #7EC538

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

Preview Lab → · Contrast checker → · Palette generator →

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