#7EB156#7EB156

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

Color values

HEX#7EB156
RGBrgb(126, 177, 86)
HSLhsl(94, 37%, 52%)
HSVhsv(94, 51%, 69%)
CMYKcmyk(28.8%, 0%, 51.4%, 30.6%)
CIE-LABlab(66.94, -32.90, 40.90)
CIE-LCHlch(66.94, 52.48, 128.81°)
OKLaboklab(70.37% -0.0911 0.0977)
OKLCHoklch(70.37% 0.134 133)
XYZxyz(26.0056, 36.5510, 14.4872)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB156 #8956B1
analogous
#ACB156 #7EB156 #56B15C
triadic
#7EB156 #567EB1 #B1567E
tetradic
#7EB156 #56ACB1 #8956B1 #B15C56
square
#7EB156 #56ACB1 #8956B1 #B15C56
split-complementary
#7EB156 #5C56B1 #B156AC
monochromatic
#43602C #608A40 #7EB156 #9EC480 #BED8AA

Accessibility & contrast

On white

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

On black

8.31
#7EB156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB156
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB156#FFFFFF#000000##000000
##7EB1561.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb156;
/* rgb */ color: rgb(126, 177, 86);
/* oklch */ color: oklch(70.4% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#a6c888',
    500: '#7eb156',
    950: '#000000',
  },
}
SCSS
$custom: #7eb156;
$custom-light: #a6c888;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb156",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 93.626,
    "s": 36.842,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.13355,
    "h": 133
  },
  "luminance": 0.36552
}

Semantic roles & 50–950 ramp

primary
#7EB156
secondary
#B49DC5
accent
#5BCD9B
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB156

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

Preview Lab → · Contrast checker → · Palette generator →

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