#7ECA52#7ECA52

#7ECA52 is a light, vivid yellow-green. Relative luminance 0.473; OKLCH L 76.4% C 0.172 H 135.7°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7ECA52
RGBrgb(126, 202, 82)
HSLhsl(98, 53%, 56%)
HSVhsv(98, 59%, 79%)
CMYKcmyk(37.6%, 0%, 59.4%, 20.8%)
CIE-LABlab(74.37, -44.45, 51.47)
CIE-LCHlch(74.37, 68.01, 130.81°)
OKLaboklab(76.4% -0.1231 0.1203)
OKLCHoklch(76.4% 0.172 135.7)
XYZxyz(31.2469, 47.2844, 15.4614)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECA52 #9E52CA
analogous
#BACA52 #7ECA52 #52CA62
triadic
#7ECA52 #527ECA #CA527E
tetradic
#7ECA52 #52BACA #9E52CA #CA6252
square
#7ECA52 #52BACA #9E52CA #CA6252
split-complementary
#7ECA52 #6252CA #CA52BA
monochromatic
#457C26 #60AB34 #7ECA52 #A1D881 #C4E7B0

Accessibility & contrast

On white

2.01
#7ECA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#7ECA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECA52
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECA52#FFFFFF#000000##000000
##7ECA521.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#C6B55B
Tritanopia (blue-blind)
#7CC3B0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #7eca52;
/* rgb */ color: rgb(126, 202, 82);
/* oklch */ color: oklch(76.4% 0.172 135.7);
Tailwind
colors: {
  custom: {
    50: '#a8da87',
    500: '#7eca52',
    950: '#000000',
  },
}
SCSS
$custom: #7eca52;
$custom-light: #a8da87;
$custom-dark: #000000;
JSON
{
  "hex": "#7eca52",
  "rgb": {
    "r": 126,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 98,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.17211,
    "h": 135.7
  },
  "luminance": 0.47286
}

Semantic roles & 50–950 ramp

primary
#7ECA52
secondary
#C3A3D5
accent
#4BDDA7
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECA52

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

Preview Lab → · Contrast checker → · Palette generator →

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