#7ECC4E#7ECC4E

#7ECC4E is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 76.8% C 0.178 H 135.4°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7ECC4E
RGBrgb(126, 204, 78)
HSLhsl(97, 55%, 55%)
HSVhsv(97, 62%, 80%)
CMYKcmyk(38.2%, 0%, 61.8%, 20%)
CIE-LABlab(74.93, -45.67, 53.85)
CIE-LCHlch(74.93, 70.61, 130.30°)
OKLaboklab(76.85% -0.1268 0.1249)
OKLCHoklch(76.85% 0.178 135.4)
XYZxyz(31.5715, 48.1699, 14.8404)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC4E #9C4ECC
analogous
#BDCC4E #7ECC4E #4ECC5D
triadic
#7ECC4E #4E7ECC #CC4E7E
tetradic
#7ECC4E #4EBDCC #9C4ECC #CC5D4E
square
#7ECC4E #4EBDCC #9C4ECC #CC5D4E
split-complementary
#7ECC4E #5D4ECC #CC4EBD
monochromatic
#457C24 #60AB31 #7ECC4E #A1DA7E #C3E7AD

Accessibility & contrast

On white

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

On black

10.63
#7ECC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECC4E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECC4E#FFFFFF#000000##000000
##7ECC4E1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ecc4e;
/* rgb */ color: rgb(126, 204, 78);
/* oklch */ color: oklch(76.8% 0.178 135.4);
Tailwind
colors: {
  custom: {
    50: '#a8dc84',
    500: '#7ecc4e',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc4e;
$custom-light: #a8dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc4e",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 97.143,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76845,
    "c": 0.17798,
    "h": 135.4
  },
  "luminance": 0.48171
}

Semantic roles & 50–950 ramp

primary
#7ECC4E
secondary
#C1A1D5
accent
#49DFA6
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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