#7EC456#7EC456

#7EC456 is a light, vivid yellow-green. Relative luminance 0.446; OKLCH L 75.0% C 0.161 H 135.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7EC456
RGBrgb(126, 196, 86)
HSLhsl(98, 48%, 55%)
HSVhsv(98, 56%, 77%)
CMYKcmyk(35.7%, 0%, 56.1%, 23.1%)
CIE-LABlab(72.62, -41.46, 47.63)
CIE-LCHlch(72.62, 63.15, 131.03°)
OKLaboklab(74.98% -0.1146 0.1124)
OKLCHoklch(74.98% 0.161 135.6)
XYZxyz(30.0231, 44.5860, 15.8263)
Luminance0.4459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC456 #9C56C4
analogous
#B5C456 #7EC456 #56C465
triadic
#7EC456 #567EC4 #C4567E
tetradic
#7EC456 #56B5C4 #9C56C4 #C46556
square
#7EC456 #56B5C4 #9C56C4 #C46556
split-complementary
#7EC456 #6556C4 #C456B5
monochromatic
#457629 #60A439 #7EC456 #A1D483 #C3E4B1

Accessibility & contrast

On white

2.12
#7EC456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#7EC456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EC456
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EC456#FFFFFF#000000##000000
##7EC4561.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB64B
Deuteranopia (green-blind)
#C1B05E
Tritanopia (blue-blind)
#7CBDAC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #7ec456;
/* rgb */ color: rgb(126, 196, 86);
/* oklch */ color: oklch(75.0% 0.161 135.6);
Tailwind
colors: {
  custom: {
    50: '#a7d689',
    500: '#7ec456',
    950: '#000000',
  },
}
SCSS
$custom: #7ec456;
$custom-light: #a7d689;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec456",
  "rgb": {
    "r": 126,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 98.182,
    "s": 48.246,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74983,
    "c": 0.16054,
    "h": 135.6
  },
  "luminance": 0.44587
}

Semantic roles & 50–950 ramp

primary
#7EC456
secondary
#C1A4D2
accent
#50D8A6
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7EC456

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

Preview Lab → · Contrast checker → · Palette generator →

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