#7EC052#7EC052

#7EC052 is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.0% C 0.159 H 134.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7EC052
RGBrgb(126, 192, 82)
HSLhsl(96, 47%, 54%)
HSVhsv(96, 57%, 75%)
CMYKcmyk(34.4%, 0%, 57.3%, 24.7%)
CIE-LABlab(71.38, -40.12, 48.04)
CIE-LCHlch(71.38, 62.60, 129.87°)
OKLaboklab(73.96% -0.1113 0.1129)
OKLCHoklch(73.96% 0.159 134.6)
XYZxyz(28.9762, 42.7429, 14.7045)
Luminance0.4274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC052 #9452C0
analogous
#B5C052 #7EC052 #52C05D
triadic
#7EC052 #527EC0 #C0527E
tetradic
#7EC052 #52B5C0 #9452C0 #C05D52
square
#7EC052 #52B5C0 #9452C0 #C05D52
split-complementary
#7EC052 #5D52C0 #C052B5
monochromatic
#456F28 #609C39 #7EC052 #9FD07F #C1E1AC

Accessibility & contrast

On white

2.20
#7EC052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#7EC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC052
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC052#FFFFFF#000000##000000
##7EC0521.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B247
Deuteranopia (green-blind)
#BDAD5A
Tritanopia (blue-blind)
#7DB9A8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #7ec052;
/* rgb */ color: rgb(126, 192, 82);
/* oklch */ color: oklch(74.0% 0.159 134.6);
Tailwind
colors: {
  custom: {
    50: '#a7d386',
    500: '#7ec052',
    950: '#000000',
  },
}
SCSS
$custom: #7ec052;
$custom-light: #a7d386;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec052",
  "rgb": {
    "r": 126,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 96,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.73961,
    "c": 0.15853,
    "h": 134.6
  },
  "luminance": 0.42744
}

Semantic roles & 50–950 ramp

primary
#7EC052
secondary
#BC9FCE
accent
#52D6A1
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140B
muted
#7F837C

Preview Lab

Preview with #7EC052

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

Preview Lab → · Contrast checker → · Palette generator →

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