#7EC74C#7EC74C

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

Color values

HEX#7EC74C
RGBrgb(126, 199, 76)
HSLhsl(96, 52%, 54%)
HSVhsv(96, 62%, 78%)
CMYKcmyk(36.7%, 0%, 61.8%, 22%)
CIE-LABlab(73.42, -43.74, 53.03)
CIE-LCHlch(73.42, 68.74, 129.51°)
OKLaboklab(75.6% -0.1216 0.123)
OKLCHoklch(75.6% 0.173 134.7)
XYZxyz(30.3315, 45.8029, 14.0788)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC74C #954CC7
analogous
#BBC74C #7EC74C #4CC758
triadic
#7EC74C #4C7EC7 #C74C7E
tetradic
#7EC74C #4CBBC7 #954CC7 #C7584C
square
#7EC74C #4CBBC7 #954CC7 #C7584C
split-complementary
#7EC74C #584CC7 #C74CBB
monochromatic
#457424 #60A333 #7EC74C #A0D67B #C1E4A9

Accessibility & contrast

On white

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

On black

10.16
#7EC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC74C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC74C#FFFFFF#000000##000000
##7EC74C1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ec74c;
/* rgb */ color: rgb(126, 199, 76);
/* oklch */ color: oklch(75.6% 0.173 134.7);
Tailwind
colors: {
  custom: {
    50: '#a8d883',
    500: '#7ec74c',
    950: '#000000',
  },
}
SCSS
$custom: #7ec74c;
$custom-light: #a8d883;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec74c",
  "rgb": {
    "r": 126,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 95.61,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.75603,
    "c": 0.17297,
    "h": 134.7
  },
  "luminance": 0.45804
}

Semantic roles & 50–950 ramp

primary
#7EC74C
secondary
#BC9DD2
accent
#4CDCA1
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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