#7ECC2F#7ECC2F

#7ECC2F is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 76.6% C 0.198 H 133.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#7ECC2F
RGBrgb(126, 204, 47)
HSLhsl(90, 63%, 49%)
HSVhsv(90, 77%, 80%)
CMYKcmyk(38.2%, 0%, 77%, 20%)
CIE-LABlab(74.71, -47.91, 65.27)
CIE-LCHlch(74.71, 80.97, 126.28°)
OKLaboklab(76.6% -0.1351 0.1448)
OKLCHoklch(76.6% 0.198 133)
XYZxyz(30.7097, 47.8252, 10.3019)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC2F #7D2FCC
analogous
#CCCC2F #7ECC2F #2FCC2F
triadic
#7ECC2F #2F7ECC #CC2F7E
tetradic
#7ECC2F #2FCCCC #7D2FCC #CC2F2F
square
#7ECC2F #2FCCCC #7D2FCC #CC2F2F
split-complementary
#7ECC2F #2F2FCC #CC2FCC
monochromatic
#416918 #5F9A24 #7ECC2F #9CDA5E #BBE590

Accessibility & contrast

On white

1.99
#7ECC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#7ECC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECC2F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECC2F#FFFFFF#000000##000000
##7ECC2F1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC00
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#7FC4AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecc2f;
/* rgb */ color: rgb(126, 204, 47);
/* oklch */ color: oklch(76.6% 0.198 133.0);
Tailwind
colors: {
  custom: {
    50: '#a9dc74',
    500: '#7ecc2f',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc2f;
$custom-light: #a9dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc2f",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 89.809,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.19805,
    "h": 133
  },
  "luminance": 0.47827
}

Semantic roles & 50–950 ramp

primary
#7ECC2F
secondary
#AB87D0
accent
#42E693
background
#FAFDF7
surface
#F5FBED
border
#CFD4C8
text
#111509
muted
#80837B

Preview Lab

Preview with #7ECC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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