#7EB251#7EB251

#7EB251 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.5% C 0.140 H 132.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7EB251
RGBrgb(126, 178, 81)
HSLhsl(92, 39%, 51%)
HSVhsv(92, 54%, 70%)
CMYKcmyk(29.2%, 0%, 54.5%, 30.2%)
CIE-LABlab(67.18, -33.92, 43.61)
CIE-LCHlch(67.18, 55.25, 127.87°)
OKLaboklab(70.54% -0.0943 0.1032)
OKLCHoklch(70.54% 0.14 132.4)
XYZxyz(26.0094, 36.8697, 13.5292)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB251 #8551B2
analogous
#AEB251 #7EB251 #51B254
triadic
#7EB251 #517EB2 #B2517E
tetradic
#7EB251 #51AEB2 #8551B2 #B25451
square
#7EB251 #51AEB2 #8551B2 #B25451
split-complementary
#7EB251 #5451B2 #B251AE
monochromatic
#425F2A #60893D #7EB251 #9DC57B #BDD8A6

Accessibility & contrast

On white

2.51
#7EB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#7EB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB251
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB251#FFFFFF#000000##000000
##7EB2511.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A648
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#7FAC9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb251;
/* rgb */ color: rgb(126, 178, 81);
/* oklch */ color: oklch(70.5% 0.140 132.4);
Tailwind
colors: {
  custom: {
    50: '#a6c984',
    500: '#7eb251',
    950: '#000000',
  },
}
SCSS
$custom: #7eb251;
$custom-light: #a6c984;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb251",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 92.165,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.13979,
    "h": 132.4
  },
  "luminance": 0.3687
}

Semantic roles & 50–950 ramp

primary
#7EB251
secondary
#B19AC5
accent
#59CF98
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB251

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

Preview Lab → · Contrast checker → · Palette generator →

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