#7EC951#7EC951

#7EC951 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.1% C 0.172 H 135.5°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7EC951
RGBrgb(126, 201, 81)
HSLhsl(98, 53%, 55%)
HSVhsv(98, 60%, 79%)
CMYKcmyk(37.3%, 0%, 59.7%, 21.2%)
CIE-LABlab(74.06, -44.12, 51.56)
CIE-LCHlch(74.06, 67.86, 130.55°)
OKLaboklab(76.14% -0.1223 0.1204)
OKLCHoklch(76.14% 0.172 135.5)
XYZxyz(30.9753, 46.8015, 15.1845)
Luminance0.4680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC951 #9C51C9
analogous
#BAC951 #7EC951 #51C960
triadic
#7EC951 #517EC9 #C9517E
tetradic
#7EC951 #51BAC9 #9C51C9 #C96051
square
#7EC951 #51BAC9 #9C51C9 #C96051
split-complementary
#7EC951 #6051C9 #C951BA
monochromatic
#457A26 #60A934 #7EC951 #A1D780 #C3E6AE

Accessibility & contrast

On white

2.03
#7EC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#7EC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC951
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC951#FFFFFF#000000##000000
##7EC9511.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA44
Deuteranopia (green-blind)
#C5B45A
Tritanopia (blue-blind)
#7CC2AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7ec951;
/* rgb */ color: rgb(126, 201, 81);
/* oklch */ color: oklch(76.1% 0.172 135.5);
Tailwind
colors: {
  custom: {
    50: '#a8da86',
    500: '#7ec951',
    950: '#000000',
  },
}
SCSS
$custom: #7ec951;
$custom-light: #a8da86;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec951",
  "rgb": {
    "r": 126,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 97.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76144,
    "c": 0.1716,
    "h": 135.5
  },
  "luminance": 0.46803
}

Semantic roles & 50–950 ramp

primary
#7EC951
secondary
#C1A2D4
accent
#4CDCA6
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7EC951

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

Preview Lab → · Contrast checker → · Palette generator →

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