#7EC02C#7EC02C

#7EC02C is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 73.6% C 0.185 H 131.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7EC02C
RGBrgb(126, 192, 44)
HSLhsl(87, 63%, 46%)
HSVhsv(87, 77%, 75%)
CMYKcmyk(34.4%, 0%, 77.1%, 24.7%)
CIE-LABlab(71.09, -43.05, 62.77)
CIE-LCHlch(71.09, 76.12, 124.44°)
OKLaboklab(73.63% -0.1221 0.1391)
OKLCHoklch(73.63% 0.185 131.3)
XYZxyz(27.9082, 42.3157, 9.0797)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC02C #6E2CC0
analogous
#C0B82C #7EC02C #34C02C
triadic
#7EC02C #2C7EC0 #C02C7E
tetradic
#7EC02C #2CC0B8 #6E2CC0 #C02C34
square
#7EC02C #2CC0B8 #6E2CC0 #C02C34
split-complementary
#7EC02C #2C34C0 #B82CC0
monochromatic
#3D5C15 #5D8E21 #7EC02C #9CD752 #B8E384

Accessibility & contrast

On white

2.22
#7EC02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#7EC02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC02C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC02C#FFFFFF#000000##000000
##7EC02C1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B101
Deuteranopia (green-blind)
#C0AC3C
Tritanopia (blue-blind)
#80B8A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7ec02c;
/* rgb */ color: rgb(126, 192, 44);
/* oklch */ color: oklch(73.6% 0.185 131.3);
Tailwind
colors: {
  custom: {
    50: '#a9d371',
    500: '#7ec02c',
    950: '#000000',
  },
}
SCSS
$custom: #7ec02c;
$custom-light: #a9d371;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec02c",
  "rgb": {
    "r": 126,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 86.757,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73629,
    "c": 0.18515,
    "h": 131.3
  },
  "luminance": 0.42317
}

Semantic roles & 50–950 ramp

primary
#7EC02C
secondary
#A07CCC
accent
#42E68B
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101408
muted
#7F837B

Preview Lab

Preview with #7EC02C

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

Preview Lab → · Contrast checker → · Palette generator →

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