#7EC252#7EC252

#7EC252 is a light, vivid yellow-green. Relative luminance 0.436; OKLCH L 74.4% C 0.161 H 134.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7EC252
RGBrgb(126, 194, 82)
HSLhsl(96, 48%, 54%)
HSVhsv(96, 58%, 76%)
CMYKcmyk(35.1%, 0%, 57.7%, 23.9%)
CIE-LABlab(71.98, -41.00, 48.73)
CIE-LCHlch(71.98, 63.69, 130.07°)
OKLaboklab(74.45% -0.1137 0.1144)
OKLCHoklch(74.45% 0.161 134.8)
XYZxyz(29.4183, 43.6271, 14.8518)
Luminance0.4363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC252 #9652C2
analogous
#B6C252 #7EC252 #52C25E
triadic
#7EC252 #527EC2 #C2527E
tetradic
#7EC252 #52B6C2 #9652C2 #C25E52
square
#7EC252 #52B6C2 #9652C2 #C25E52
split-complementary
#7EC252 #5E52C2 #C252B6
monochromatic
#457228 #609F38 #7EC252 #A0D27F #C1E2AC

Accessibility & contrast

On white

2.16
#7EC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#7EC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC252
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC252#FFFFFF#000000##000000
##7EC2521.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B446
Deuteranopia (green-blind)
#BFAE5A
Tritanopia (blue-blind)
#7DBBAA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #7ec252;
/* rgb */ color: rgb(126, 194, 82);
/* oklch */ color: oklch(74.4% 0.161 134.8);
Tailwind
colors: {
  custom: {
    50: '#a7d586',
    500: '#7ec252',
    950: '#000000',
  },
}
SCSS
$custom: #7ec252;
$custom-light: #a7d586;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec252",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 96.429,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74449,
    "c": 0.16127,
    "h": 134.8
  },
  "luminance": 0.43628
}

Semantic roles & 50–950 ramp

primary
#7EC252
secondary
#BDA0D0
accent
#50D7A2
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC252

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

Preview Lab → · Contrast checker → · Palette generator →

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