#7ECA2A#7ECA2A

#7ECA2A is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.1% C 0.198 H 132.5°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7ECA2A
RGBrgb(126, 202, 42)
HSLhsl(89, 66%, 48%)
HSVhsv(89, 79%, 79%)
CMYKcmyk(37.6%, 0%, 79.2%, 20.8%)
CIE-LABlab(74.09, -47.34, 66.18)
CIE-LCHlch(74.09, 81.37, 125.58°)
OKLaboklab(76.08% -0.1339 0.146)
OKLCHoklch(76.08% 0.198 132.5)
XYZxyz(30.1423, 46.8425, 9.6434)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA2A #762ACA
analogous
#CAC62A #7ECA2A #2ECA2A
triadic
#7ECA2A #2A7ECA #CA2A7E
tetradic
#7ECA2A #2ACAC6 #762ACA #CA2A2E
square
#7ECA2A #2ACAC6 #762ACA #CA2A2E
split-complementary
#7ECA2A #2A2ECA #C62ACA
monochromatic
#3F6515 #5E971F #7ECA2A #9CDC55 #BAE688

Accessibility & contrast

On white

2.03
#7ECA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#7ECA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECA2A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECA2A#FFFFFF#000000##000000
##7ECA2A1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA00
Deuteranopia (green-blind)
#C8B43C
Tritanopia (blue-blind)
#7FC2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7eca2a;
/* rgb */ color: rgb(126, 202, 42);
/* oklch */ color: oklch(76.1% 0.198 132.5);
Tailwind
colors: {
  custom: {
    50: '#aada71',
    500: '#7eca2a',
    950: '#000000',
  },
}
SCSS
$custom: #7eca2a;
$custom-light: #aada71;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca2a",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 88.5,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76078,
    "c": 0.19807,
    "h": 132.5
  },
  "luminance": 0.46844
}

Semantic roles & 50–950 ramp

primary
#7ECA2A
secondary
#A680D0
accent
#3FE990
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7ECA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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