#7ECC45#7ECC45

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

Color values

HEX#7ECC45
RGBrgb(126, 204, 69)
HSLhsl(95, 57%, 54%)
HSVhsv(95, 66%, 80%)
CMYKcmyk(38.2%, 0%, 66.2%, 20%)
CIE-LABlab(74.86, -46.45, 57.52)
CIE-LCHlch(74.86, 73.94, 128.92°)
OKLaboklab(76.76% -0.1295 0.1317)
OKLCHoklch(76.76% 0.185 134.5)
XYZxyz(31.2706, 48.0495, 13.2559)
Luminance0.4805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC45 #9345CC
analogous
#C1CC45 #7ECC45 #45CC4F
triadic
#7ECC45 #457ECC #CC457E
tetradic
#7ECC45 #45C1CC #9345CC #CC4F45
square
#7ECC45 #45C1CC #9345CC #CC4F45
split-complementary
#7ECC45 #4F45CC #CC45C1
monochromatic
#457620 #61A62E #7ECC45 #9FD975 #C1E6A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7ECC45#FFFFFF#000000##000000
##7ECC451.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)
#D4BC33
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#7DC4B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecc45;
/* rgb */ color: rgb(126, 204, 69);
/* oklch */ color: oklch(76.8% 0.185 134.5);
Tailwind
colors: {
  custom: {
    50: '#a9dc7f',
    500: '#7ecc45',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc45;
$custom-light: #a9dc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc45",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 94.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76759,
    "c": 0.18471,
    "h": 134.5
  },
  "luminance": 0.48051
}

Semantic roles & 50–950 ramp

primary
#7ECC45
secondary
#BB99D3
accent
#48E0A0
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150A
muted
#7F837C

Preview Lab

Preview with #7ECC45

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

Preview Lab → · Contrast checker → · Palette generator →

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