#7ECA2F#7ECA2F

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

Color values

HEX#7ECA2F
RGBrgb(126, 202, 47)
HSLhsl(89, 62%, 49%)
HSVhsv(89, 77%, 79%)
CMYKcmyk(37.6%, 0%, 76.7%, 20.8%)
CIE-LABlab(74.11, -47.09, 64.70)
CIE-LCHlch(74.11, 80.02, 126.05°)
OKLaboklab(76.11% -0.1329 0.1436)
OKLCHoklch(76.11% 0.196 132.8)
XYZxyz(30.2374, 46.8805, 10.1444)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA2F #7B2FCA
analogous
#CAC92F #7ECA2F #31CA2F
triadic
#7ECA2F #2F7ECA #CA2F7E
tetradic
#7ECA2F #2FCAC9 #7B2FCA #CA2F31
square
#7ECA2F #2FCAC9 #7B2FCA #CA2F31
split-complementary
#7ECA2F #2F31CA #C92FCA
monochromatic
#406718 #5F9823 #7ECA2F #9CD95D #BBE58F

Accessibility & contrast

On white

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

On black

10.38
#7ECA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECA2F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECA2F#FFFFFF#000000##000000
##7ECA2F1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eca2f;
/* rgb */ color: rgb(126, 202, 47);
/* oklch */ color: oklch(76.1% 0.196 132.8);
Tailwind
colors: {
  custom: {
    50: '#a9da74',
    500: '#7eca2f',
    950: '#000000',
  },
}
SCSS
$custom: #7eca2f;
$custom-light: #a9da74;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca2f",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 89.419,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76106,
    "c": 0.19566,
    "h": 132.8
  },
  "luminance": 0.46882
}

Semantic roles & 50–950 ramp

primary
#7ECA2F
secondary
#AA86CF
accent
#42E592
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#101509
muted
#7F837B

Preview Lab

Preview with #7ECA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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