#7EC74E#7EC74E

#7EC74E is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 75.6% C 0.171 H 134.9°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7EC74E
RGBrgb(126, 199, 78)
HSLhsl(96, 52%, 54%)
HSVhsv(96, 61%, 78%)
CMYKcmyk(36.7%, 0%, 60.8%, 22%)
CIE-LABlab(73.44, -43.55, 52.18)
CIE-LCHlch(73.44, 67.97, 129.85°)
OKLaboklab(75.62% -0.121 0.1214)
OKLCHoklch(75.62% 0.171 134.9)
XYZxyz(30.4021, 45.8311, 14.4507)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC74E #974EC7
analogous
#BBC74E #7EC74E #4EC75B
triadic
#7EC74E #4E7EC7 #C74E7E
tetradic
#7EC74E #4EBBC7 #974EC7 #C75B4E
square
#7EC74E #4EBBC7 #974EC7 #C75B4E
split-complementary
#7EC74E #5B4EC7 #C74EBB
monochromatic
#457525 #60A434 #7EC74E #A0D67C #C2E4AB

Accessibility & contrast

On white

2.07
#7EC74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#7EC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC74E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC74E#FFFFFF#000000##000000
##7EC74E1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB840
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#7DC0AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7ec74e;
/* rgb */ color: rgb(126, 199, 78);
/* oklch */ color: oklch(75.6% 0.171 134.9);
Tailwind
colors: {
  custom: {
    50: '#a8d884',
    500: '#7ec74e',
    950: '#000000',
  },
}
SCSS
$custom: #7ec74e;
$custom-light: #a8d884;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec74e",
  "rgb": {
    "r": 126,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 96.198,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75624,
    "c": 0.17137,
    "h": 134.9
  },
  "luminance": 0.45833
}

Semantic roles & 50–950 ramp

primary
#7EC74E
secondary
#BE9FD2
accent
#4CDBA3
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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