#7EC256#7EC256

#7EC256 is a light, vivid yellow-green. Relative luminance 0.437; OKLCH L 74.5% C 0.158 H 135.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7EC256
RGBrgb(126, 194, 86)
HSLhsl(98, 47%, 55%)
HSVhsv(98, 56%, 76%)
CMYKcmyk(35.1%, 0%, 55.7%, 23.9%)
CIE-LABlab(72.02, -40.58, 46.93)
CIE-LCHlch(72.02, 62.05, 130.85°)
OKLaboklab(74.5% -0.1122 0.1109)
OKLCHoklch(74.5% 0.158 135.4)
XYZxyz(29.5750, 43.6898, 15.6770)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC256 #9A56C2
analogous
#B4C256 #7EC256 #56C264
triadic
#7EC256 #567EC2 #C2567E
tetradic
#7EC256 #56B4C2 #9A56C2 #C26456
square
#7EC256 #56B4C2 #9A56C2 #C26456
split-complementary
#7EC256 #6456C2 #C256B4
monochromatic
#45742A #60A13A #7EC256 #A0D283 #C3E2B0

Accessibility & contrast

On white

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

On black

9.74
#7EC256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC256
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC256#FFFFFF#000000##000000
##7EC2561.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44B
Deuteranopia (green-blind)
#BFAE5E
Tritanopia (blue-blind)
#7DBBAA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7ec256;
/* rgb */ color: rgb(126, 194, 86);
/* oklch */ color: oklch(74.5% 0.158 135.4);
Tailwind
colors: {
  custom: {
    50: '#a7d589',
    500: '#7ec256',
    950: '#000000',
  },
}
SCSS
$custom: #7ec256;
$custom-light: #a7d589;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec256",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 97.778,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74496,
    "c": 0.15777,
    "h": 135.4
  },
  "luminance": 0.43691
}

Semantic roles & 50–950 ramp

primary
#7EC256
secondary
#C0A3D1
accent
#51D7A5
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7EC256

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

Preview Lab → · Contrast checker → · Palette generator →

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