#7ECD51#7ECD51

#7ECD51 is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.1% C 0.177 H 135.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#7ECD51
RGBrgb(126, 205, 81)
HSLhsl(98, 55%, 56%)
HSVhsv(98, 60%, 80%)
CMYKcmyk(38.5%, 0%, 60.5%, 19.6%)
CIE-LABlab(75.26, -45.81, 52.91)
CIE-LCHlch(75.26, 69.99, 130.88°)
OKLaboklab(77.12% -0.1269 0.1233)
OKLCHoklch(77.12% 0.177 135.8)
XYZxyz(31.9199, 48.6907, 15.4994)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7ECD51 #A051CD
analogous
#BCCD51 #7ECD51 #51CD62
triadic
#7ECD51 #517ECD #CD517E
tetradic
#7ECD51 #51BCCD #A051CD #CD6251
square
#7ECD51 #51BCCD #A051CD #CD6251
split-complementary
#7ECD51 #6251CD #CD51BC
monochromatic
#457F25 #5FAF32 #7ECD51 #A1DB81 #C4E8B0

Accessibility & contrast

On white

1.96
#7ECD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#7ECD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7ECD51
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7ECD51#FFFFFF#000000##000000
##7ECD511.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE43
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#7CC6B3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #7ecd51;
/* rgb */ color: rgb(126, 205, 81);
/* oklch */ color: oklch(77.1% 0.177 135.8);
Tailwind
colors: {
  custom: {
    50: '#a8dd86',
    500: '#7ecd51',
    950: '#000000',
  },
}
SCSS
$custom: #7ecd51;
$custom-light: #a8dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7ecd51",
  "rgb": {
    "r": 126,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 98.226,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7712,
    "c": 0.17692,
    "h": 135.8
  },
  "luminance": 0.48692
}

Semantic roles & 50–950 ramp

primary
#7ECD51
secondary
#C4A3D7
accent
#49DFA8
background
#FAFDF8
surface
#F4FBF0
border
#CED4CB
text
#10150B
muted
#7F837C

Preview Lab

Preview with #7ECD51

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

Preview Lab → · Contrast checker → · Palette generator →

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