#7EC54D#7EC54D

#7EC54D is a light, vivid yellow-green. Relative luminance 0.449; OKLCH L 75.1% C 0.170 H 134.6°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7EC54D
RGBrgb(126, 197, 77)
HSLhsl(96, 51%, 54%)
HSVhsv(96, 61%, 77%)
CMYKcmyk(36%, 0%, 60.9%, 22.7%)
CIE-LABlab(72.83, -42.79, 51.94)
CIE-LCHlch(72.83, 67.30, 129.48°)
OKLaboklab(75.13% -0.1189 0.1208)
OKLCHoklch(75.13% 0.17 134.6)
XYZxyz(29.9094, 44.9026, 14.1109)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC54D #944DC5
analogous
#BAC54D #7EC54D #4DC558
triadic
#7EC54D #4D7EC5 #C54D7E
tetradic
#7EC54D #4DBAC5 #944DC5 #C5584D
square
#7EC54D #4DBAC5 #944DC5 #C5584D
split-complementary
#7EC54D #584DC5 #C54DBA
monochromatic
#457225 #60A034 #7EC54D #9FD47B #C1E3A9

Accessibility & contrast

On white

2.10
#7EC54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#7EC54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC54D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC54D#FFFFFF#000000##000000
##7EC54D1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63F
Deuteranopia (green-blind)
#C2B156
Tritanopia (blue-blind)
#7DBEAB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #7ec54d;
/* rgb */ color: rgb(126, 197, 77);
/* oklch */ color: oklch(75.1% 0.170 134.6);
Tailwind
colors: {
  custom: {
    50: '#a8d783',
    500: '#7ec54d',
    950: '#000000',
  },
}
SCSS
$custom: #7ec54d;
$custom-light: #a8d783;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec54d",
  "rgb": {
    "r": 126,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 95.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75125,
    "c": 0.16951,
    "h": 134.6
  },
  "luminance": 0.44904
}

Semantic roles & 50–950 ramp

primary
#7EC54D
secondary
#BC9DD1
accent
#4DDAA1
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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