#7EB158#7EB158

#7EB158 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.4% C 0.132 H 133.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7EB158
RGBrgb(126, 177, 88)
HSLhsl(94, 36%, 52%)
HSVhsv(94, 50%, 69%)
CMYKcmyk(28.8%, 0%, 50.3%, 30.6%)
CIE-LABlab(66.96, -32.66, 39.94)
CIE-LCHlch(66.96, 51.59, 129.28°)
OKLaboklab(70.4% -0.0903 0.0957)
OKLCHoklch(70.4% 0.132 133.3)
XYZxyz(26.0873, 36.5837, 14.9175)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB158 #8B58B1
analogous
#ABB158 #7EB158 #58B15F
triadic
#7EB158 #587EB1 #B1587E
tetradic
#7EB158 #58ABB1 #8B58B1 #B15F58
square
#7EB158 #58ABB1 #8B58B1 #B15F58
split-complementary
#7EB158 #5F58B1 #B158AB
monochromatic
#44612D #608B41 #7EB158 #9EC482 #BED8AB

Accessibility & contrast

On white

2.53
#7EB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7EB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB158
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB158#FFFFFF#000000##000000
##7EB1581.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A650
Deuteranopia (green-blind)
#B0A15E
Tritanopia (blue-blind)
#7FAB9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb158;
/* rgb */ color: rgb(126, 177, 88);
/* oklch */ color: oklch(70.4% 0.132 133.3);
Tailwind
colors: {
  custom: {
    50: '#a6c889',
    500: '#7eb158',
    950: '#000000',
  },
}
SCSS
$custom: #7eb158;
$custom-light: #a6c889;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb158",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 94.382,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70396,
    "c": 0.13158,
    "h": 133.3
  },
  "luminance": 0.36584
}

Semantic roles & 50–950 ramp

primary
#7EB158
secondary
#B59FC6
accent
#5BCC9C
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7EB158

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

Preview Lab → · Contrast checker → · Palette generator →

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