#7EC258#7EC258

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

Color values

HEX#7EC258
RGBrgb(126, 194, 88)
HSLhsl(98, 46%, 55%)
HSVhsv(98, 55%, 76%)
CMYKcmyk(35.1%, 0%, 54.6%, 23.9%)
CIE-LABlab(72.04, -40.37, 46.02)
CIE-LCHlch(72.04, 61.22, 131.25°)
OKLaboklab(74.52% -0.1115 0.1091)
OKLCHoklch(74.52% 0.156 135.6)
XYZxyz(29.6567, 43.7225, 16.1073)
Luminance0.4372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EC258 #9C58C2
analogous
#B3C258 #7EC258 #58C267
triadic
#7EC258 #587EC2 #C2587E
tetradic
#7EC258 #58B3C2 #9C58C2 #C26758
square
#7EC258 #58B3C2 #9C58C2 #C26758
split-complementary
#7EC258 #6758C2 #C258B3
monochromatic
#45752B #60A23B #7EC258 #A1D285 #C3E3B2

Accessibility & contrast

On white

2.15
#7EC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EC258#FFFFFF#000000##000000
##7EC2581.002.159.749.74
#FFFFFF2.151.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44E
Deuteranopia (green-blind)
#BFAE5F
Tritanopia (blue-blind)
#7CBCAA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #7ec258;
/* rgb */ color: rgb(126, 194, 88);
/* oklch */ color: oklch(74.5% 0.156 135.6);
Tailwind
colors: {
  custom: {
    50: '#a7d58a',
    500: '#7ec258',
    950: '#000000',
  },
}
SCSS
$custom: #7ec258;
$custom-light: #a7d58a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ec258",
  "rgb": {
    "r": 126,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 98.491,
    "s": 46.491,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74521,
    "c": 0.15598,
    "h": 135.6
  },
  "luminance": 0.43724
}

Semantic roles & 50–950 ramp

primary
#7EC258
secondary
#C1A5D1
accent
#52D6A7
background
#FAFDF8
surface
#F4FAF0
border
#CED3CB
text
#10140C
muted
#7F837D

Preview Lab

Preview with #7EC258

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

Preview Lab → · Contrast checker → · Palette generator →

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