#7EB151#7EB151

#7EB151 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.3% C 0.138 H 132.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7EB151
RGBrgb(126, 177, 81)
HSLhsl(92, 38%, 51%)
HSVhsv(92, 54%, 69%)
CMYKcmyk(28.8%, 0%, 54.2%, 30.6%)
CIE-LABlab(66.88, -33.45, 43.26)
CIE-LCHlch(66.88, 54.69, 127.72°)
OKLaboklab(70.3% -0.093 0.1025)
OKLCHoklch(70.3% 0.138 132.2)
XYZxyz(25.8111, 36.4732, 13.4631)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB151 #8451B1
analogous
#AEB151 #7EB151 #51B154
triadic
#7EB151 #517EB1 #B1517E
tetradic
#7EB151 #51AEB1 #8451B1 #B15451
square
#7EB151 #51AEB1 #8451B1 #B15451
split-complementary
#7EB151 #5451B1 #B151AE
monochromatic
#425E2A #60883D #7EB151 #9DC47B #BDD7A6

Accessibility & contrast

On white

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

On black

8.29
#7EB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB151
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB151#FFFFFF#000000##000000
##7EB1511.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A548
Deuteranopia (green-blind)
#B0A157
Tritanopia (blue-blind)
#7FAB9B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb151;
/* rgb */ color: rgb(126, 177, 81);
/* oklch */ color: oklch(70.3% 0.138 132.2);
Tailwind
colors: {
  custom: {
    50: '#a6c884',
    500: '#7eb151',
    950: '#000000',
  },
}
SCSS
$custom: #7eb151;
$custom-light: #a6c884;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb151",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 91.875,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70301,
    "c": 0.13836,
    "h": 132.2
  },
  "luminance": 0.36474
}

Semantic roles & 50–950 ramp

primary
#7EB151
secondary
#B09AC4
accent
#5ACE98
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB151

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

Preview Lab → · Contrast checker → · Palette generator →

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