#7EC952#7EC952

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

Color values

HEX#7EC952
RGBrgb(126, 201, 82)
HSLhsl(98, 52%, 55%)
HSVhsv(98, 59%, 79%)
CMYKcmyk(37.3%, 0%, 59.2%, 21.2%)
CIE-LABlab(74.07, -44.02, 51.13)
CIE-LCHlch(74.07, 67.47, 130.73°)
OKLaboklab(76.16% -0.122 0.1195)
OKLCHoklch(76.16% 0.171 135.6)
XYZxyz(31.0131, 46.8166, 15.3834)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC952 #9D52C9
analogous
#BAC952 #7EC952 #52C961
triadic
#7EC952 #527EC9 #C9527E
tetradic
#7EC952 #52BAC9 #9D52C9 #C96152
square
#7EC952 #52BAC9 #9D52C9 #C96152
split-complementary
#7EC952 #6152C9 #C952BA
monochromatic
#457A26 #60A935 #7EC952 #A1D881 #C4E6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EC952#FFFFFF#000000##000000
##7EC9521.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)
#D0BA45
Deuteranopia (green-blind)
#C5B45B
Tritanopia (blue-blind)
#7CC2AF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #7ec952;
/* rgb */ color: rgb(126, 201, 82);
/* oklch */ color: oklch(76.2% 0.171 135.6);
Tailwind
colors: {
  custom: {
    50: '#a8da87',
    500: '#7ec952',
    950: '#000000',
  },
}
SCSS
$custom: #7ec952;
$custom-light: #a8da87;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec952",
  "rgb": {
    "r": 126,
    "g": 201,
    "b": 82
  },
  "hsl": {
    "h": 97.815,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76155,
    "c": 0.17077,
    "h": 135.6
  },
  "luminance": 0.46818
}

Semantic roles & 50–950 ramp

primary
#7EC952
secondary
#C2A3D4
accent
#4CDCA7
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7EC952

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

Preview Lab → · Contrast checker → · Palette generator →

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