#7ECA2C#7ECA2C

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

Color values

HEX#7ECA2C
RGBrgb(126, 202, 44)
HSLhsl(89, 64%, 48%)
HSVhsv(89, 78%, 79%)
CMYKcmyk(37.6%, 0%, 78.2%, 20.8%)
CIE-LABlab(74.10, -47.25, 65.60)
CIE-LCHlch(74.10, 80.84, 125.76°)
OKLaboklab(76.09% -0.1335 0.1451)
OKLCHoklch(76.09% 0.197 132.6)
XYZxyz(30.1789, 46.8572, 9.8366)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA2C #782CCA
analogous
#CAC72C #7ECA2C #2FCA2C
triadic
#7ECA2C #2C7ECA #CA2C7E
tetradic
#7ECA2C #2CCAC7 #782CCA #CA2C2F
square
#7ECA2C #2CCAC7 #782CCA #CA2C2F
split-complementary
#7ECA2C #2C2FCA #C72CCA
monochromatic
#3F6516 #5F9821 #7ECA2C #9CDB58 #BAE68B

Accessibility & contrast

On white

2.02
#7ECA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7ECA2C#FFFFFF#000000##000000
##7ECA2C1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eca2c;
/* rgb */ color: rgb(126, 202, 44);
/* oklch */ color: oklch(76.1% 0.197 132.6);
Tailwind
colors: {
  custom: {
    50: '#a9da72',
    500: '#7eca2c',
    950: '#000000',
  },
}
SCSS
$custom: #7eca2c;
$custom-light: #a9da72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca2c",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 44
  },
  "hsl": {
    "h": 88.861,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76089,
    "c": 0.19714,
    "h": 132.6
  },
  "luminance": 0.46859
}

Semantic roles & 50–950 ramp

primary
#7ECA2C
secondary
#A782D0
accent
#41E791
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7ECA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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