#7EC74F#7EC74F

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

Color values

HEX#7EC74F
RGBrgb(126, 199, 79)
HSLhsl(97, 52%, 55%)
HSVhsv(97, 60%, 78%)
CMYKcmyk(36.7%, 0%, 60.3%, 22%)
CIE-LABlab(73.45, -43.46, 51.75)
CIE-LCHlch(73.45, 67.58, 130.02°)
OKLaboklab(75.63% -0.1206 0.1206)
OKLCHoklch(75.63% 0.171 135)
XYZxyz(30.4382, 45.8456, 14.6409)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC74F #984FC7
analogous
#BAC74F #7EC74F #4FC75C
triadic
#7EC74F #4F7EC7 #C74F7E
tetradic
#7EC74F #4FBAC7 #984FC7 #C75C4F
square
#7EC74F #4FBAC7 #984FC7 #C75C4F
split-complementary
#7EC74F #5C4FC7 #C74FBA
monochromatic
#457626 #60A434 #7EC74F #A0D67D #C2E5AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EC74F#FFFFFF#000000##000000
##7EC74F1.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)
#CEB842
Deuteranopia (green-blind)
#C4B258
Tritanopia (blue-blind)
#7DC0AD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #7ec74f;
/* rgb */ color: rgb(126, 199, 79);
/* oklch */ color: oklch(75.6% 0.171 135.0);
Tailwind
colors: {
  custom: {
    50: '#a8d885',
    500: '#7ec74f',
    950: '#000000',
  },
}
SCSS
$custom: #7ec74f;
$custom-light: #a8d885;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec74f",
  "rgb": {
    "r": 126,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 96.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75634,
    "c": 0.17056,
    "h": 135
  },
  "luminance": 0.45847
}

Semantic roles & 50–950 ramp

primary
#7EC74F
secondary
#BEA0D2
accent
#4DDBA3
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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