#7ECC46#7ECC46

#7ECC46 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 76.8% C 0.184 H 134.6°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7ECC46
RGBrgb(126, 204, 70)
HSLhsl(95, 57%, 54%)
HSVhsv(95, 66%, 80%)
CMYKcmyk(38.2%, 0%, 65.7%, 20%)
CIE-LABlab(74.86, -46.37, 57.13)
CIE-LCHlch(74.86, 73.58, 129.06°)
OKLaboklab(76.77% -0.1292 0.131)
OKLCHoklch(76.77% 0.184 134.6)
XYZxyz(31.3019, 48.0620, 13.4208)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC46 #9446CC
analogous
#C1CC46 #7ECC46 #46CC51
triadic
#7ECC46 #467ECC #CC467E
tetradic
#7ECC46 #46C1CC #9446CC #CC5146
square
#7ECC46 #46C1CC #9446CC #CC5146
split-complementary
#7ECC46 #5146CC #CC46C1
monochromatic
#457721 #60A72E #7ECC46 #9FD976 #C1E6A6

Accessibility & contrast

On white

1.98
#7ECC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#7ECC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECC46
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECC46#FFFFFF#000000##000000
##7ECC461.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#7DC4B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecc46;
/* rgb */ color: rgb(126, 204, 70);
/* oklch */ color: oklch(76.8% 0.184 134.6);
Tailwind
colors: {
  custom: {
    50: '#a9dc80',
    500: '#7ecc46',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc46;
$custom-light: #a9dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc46",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 70
  },
  "hsl": {
    "h": 94.925,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76768,
    "c": 0.18399,
    "h": 134.6
  },
  "luminance": 0.48064
}

Semantic roles & 50–950 ramp

primary
#7ECC46
secondary
#BC9AD4
accent
#48E0A0
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECC46

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

Preview Lab → · Contrast checker → · Palette generator →

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