#7EC02F#7EC02F

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

Color values

HEX#7EC02F
RGBrgb(126, 192, 47)
HSLhsl(87, 61%, 47%)
HSVhsv(87, 76%, 75%)
CMYKcmyk(34.4%, 0%, 75.5%, 24.7%)
CIE-LABlab(71.10, -42.89, 61.83)
CIE-LCHlch(71.10, 75.24, 124.75°)
OKLaboklab(73.65% -0.1215 0.1376)
OKLCHoklch(73.65% 0.184 131.4)
XYZxyz(27.9667, 42.3391, 9.3875)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC02F #712FC0
analogous
#C0B92F #7EC02F #36C02F
triadic
#7EC02F #2F7EC0 #C02F7E
tetradic
#7EC02F #2FC0B9 #712FC0 #C02F36
square
#7EC02F #2FC0B9 #712FC0 #C02F36
split-complementary
#7EC02F #2F36C0 #B92FC0
monochromatic
#3D5E17 #5E8F23 #7EC02F #9CD656 #B9E288

Accessibility & contrast

On white

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

On black

9.47
#7EC02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC02F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC02F#FFFFFF#000000##000000
##7EC02F1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10C
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#80B8A5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7ec02f;
/* rgb */ color: rgb(126, 192, 47);
/* oklch */ color: oklch(73.6% 0.184 131.4);
Tailwind
colors: {
  custom: {
    50: '#a9d372',
    500: '#7ec02f',
    950: '#000000',
  },
}
SCSS
$custom: #7ec02f;
$custom-light: #a9d372;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec02f",
  "rgb": {
    "r": 126,
    "g": 192,
    "b": 47
  },
  "hsl": {
    "h": 87.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73648,
    "c": 0.18357,
    "h": 131.4
  },
  "luminance": 0.4234
}

Semantic roles & 50–950 ramp

primary
#7EC02F
secondary
#A27FCB
accent
#44E48D
background
#FAFDF7
surface
#F4FAED
border
#CED3C8
text
#101409
muted
#7F837B

Preview Lab

Preview with #7EC02F

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

Preview Lab → · Contrast checker → · Palette generator →

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