#7ECC4F#7ECC4F

#7ECC4F is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 76.9% C 0.177 H 135.5°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7ECC4F
RGBrgb(126, 204, 79)
HSLhsl(97, 55%, 55%)
HSVhsv(97, 61%, 80%)
CMYKcmyk(38.2%, 0%, 61.3%, 20%)
CIE-LABlab(74.94, -45.58, 53.43)
CIE-LCHlch(74.94, 70.23, 130.47°)
OKLaboklab(76.85% -0.1264 0.1242)
OKLCHoklch(76.85% 0.177 135.5)
XYZxyz(31.6076, 48.1843, 15.0307)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC4F #9D4FCC
analogous
#BCCC4F #7ECC4F #4FCC5E
triadic
#7ECC4F #4F7ECC #CC4F7E
tetradic
#7ECC4F #4FBCCC #9D4FCC #CC5E4F
square
#7ECC4F #4FBCCC #9D4FCC #CC5E4F
split-complementary
#7ECC4F #5E4FCC #CC4FBC
monochromatic
#457D24 #60AC32 #7ECC4F #A1DA7E #C4E7AE

Accessibility & contrast

On white

1.97
#7ECC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#7ECC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECC4F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECC4F#FFFFFF#000000##000000
##7ECC4F1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD41
Deuteranopia (green-blind)
#C8B659
Tritanopia (blue-blind)
#7CC5B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecc4f;
/* rgb */ color: rgb(126, 204, 79);
/* oklch */ color: oklch(76.9% 0.177 135.5);
Tailwind
colors: {
  custom: {
    50: '#a8dc85',
    500: '#7ecc4f',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc4f;
$custom-light: #a8dc85;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc4f",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 97.44,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76855,
    "c": 0.1772,
    "h": 135.5
  },
  "luminance": 0.48186
}

Semantic roles & 50–950 ramp

primary
#7ECC4F
secondary
#C2A1D5
accent
#49DEA6
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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