#7ECC48#7ECC48

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

Color values

HEX#7ECC48
RGBrgb(126, 204, 72)
HSLhsl(95, 56%, 54%)
HSVhsv(95, 65%, 80%)
CMYKcmyk(38.2%, 0%, 64.7%, 20%)
CIE-LABlab(74.88, -46.20, 56.33)
CIE-LCHlch(74.88, 72.85, 129.36°)
OKLaboklab(76.79% -0.1286 0.1295)
OKLCHoklch(76.79% 0.183 134.8)
XYZxyz(31.3661, 48.0877, 13.7588)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECC48 #9648CC
analogous
#C0CC48 #7ECC48 #48CC54
triadic
#7ECC48 #487ECC #CC487E
tetradic
#7ECC48 #48C0CC #9648CC #CC5448
square
#7ECC48 #48C0CC #9648CC #CC5448
split-complementary
#7ECC48 #5448CC #CC48C0
monochromatic
#457821 #60A82F #7ECC48 #A0D978 #C1E7A8

Accessibility & contrast

On white

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

On black

10.62
#7ECC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECC48
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECC48#FFFFFF#000000##000000
##7ECC481.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#7DC5B1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #7ecc48;
/* rgb */ color: rgb(126, 204, 72);
/* oklch */ color: oklch(76.8% 0.183 134.8);
Tailwind
colors: {
  custom: {
    50: '#a8dc81',
    500: '#7ecc48',
    950: '#000000',
  },
}
SCSS
$custom: #7ecc48;
$custom-light: #a8dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecc48",
  "rgb": {
    "r": 126,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 95.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.76786,
    "c": 0.18254,
    "h": 134.8
  },
  "luminance": 0.48089
}

Semantic roles & 50–950 ramp

primary
#7ECC48
secondary
#BD9CD4
accent
#48E0A2
background
#FAFDF8
surface
#F4FBEF
border
#CED4CA
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECC48

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

Preview Lab → · Contrast checker → · Palette generator →

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