#7ECA2D#7ECA2D

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

Color values

HEX#7ECA2D
RGBrgb(126, 202, 45)
HSLhsl(89, 64%, 48%)
HSVhsv(89, 78%, 79%)
CMYKcmyk(37.6%, 0%, 77.7%, 20.8%)
CIE-LABlab(74.10, -47.20, 65.31)
CIE-LCHlch(74.10, 80.57, 125.86°)
OKLaboklab(76.09% -0.1333 0.1446)
OKLCHoklch(76.09% 0.197 132.7)
XYZxyz(30.1980, 46.8648, 9.9368)
Luminance0.4687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA2D #792DCA
analogous
#CAC72D #7ECA2D #2FCA2D
triadic
#7ECA2D #2D7ECA #CA2D7E
tetradic
#7ECA2D #2DCAC7 #792DCA #CA2D2F
square
#7ECA2D #2DCAC7 #792DCA #CA2D2F
split-complementary
#7ECA2D #2D2FCA #C72DCA
monochromatic
#406617 #5F9822 #7ECA2D #9CDA5A #BAE58C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7ECA2D#FFFFFF#000000##000000
##7ECA2D1.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)
#C8B43E
Tritanopia (blue-blind)
#7FC2AD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7eca2d;
/* rgb */ color: rgb(126, 202, 45);
/* oklch */ color: oklch(76.1% 0.197 132.7);
Tailwind
colors: {
  custom: {
    50: '#a9da73',
    500: '#7eca2d',
    950: '#000000',
  },
}
SCSS
$custom: #7eca2d;
$custom-light: #a9da73;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca2d",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 89.045,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76094,
    "c": 0.19665,
    "h": 132.7
  },
  "luminance": 0.46866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7ECA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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