#7EC151#7EC151

#7EC151 is a light, vivid yellow-green. Relative luminance 0.432; OKLCH L 74.2% C 0.161 H 134.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7EC151
RGBrgb(126, 193, 81)
HSLhsl(96, 47%, 54%)
HSVhsv(96, 58%, 76%)
CMYKcmyk(34.7%, 0%, 58%, 24.3%)
CIE-LABlab(71.67, -40.66, 48.84)
CIE-LCHlch(71.67, 63.55, 129.78°)
OKLaboklab(74.19% -0.1128 0.1145)
OKLCHoklch(74.19% 0.161 134.6)
XYZxyz(29.1587, 43.1684, 14.5790)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC151 #9451C1
analogous
#B6C151 #7EC151 #51C15C
triadic
#7EC151 #517EC1 #C1517E
tetradic
#7EC151 #51B6C1 #9451C1 #C15C51
square
#7EC151 #51B6C1 #9451C1 #C15C51
split-complementary
#7EC151 #5C51C1 #C151B6
monochromatic
#457028 #609D38 #7EC151 #9FD17E #C1E1AB

Accessibility & contrast

On white

2.18
#7EC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#7EC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC151
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC151#FFFFFF#000000##000000
##7EC1511.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B345
Deuteranopia (green-blind)
#BEAE59
Tritanopia (blue-blind)
#7DBAA9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec151;
/* rgb */ color: rgb(126, 193, 81);
/* oklch */ color: oklch(74.2% 0.161 134.6);
Tailwind
colors: {
  custom: {
    50: '#a7d485',
    500: '#7ec151',
    950: '#000000',
  },
}
SCSS
$custom: #7ec151;
$custom-light: #a7d485;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec151",
  "rgb": {
    "r": 126,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 95.893,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.74193,
    "c": 0.16077,
    "h": 134.6
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#7EC151
secondary
#BC9FCF
accent
#51D7A1
background
#FAFDF8
surface
#F4FAEF
border
#CED3CA
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC151

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

Preview Lab → · Contrast checker → · Palette generator →

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