#7EB951#7EB951

#7EB951 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.2% C 0.150 H 133.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7EB951
RGBrgb(126, 185, 81)
HSLhsl(94, 43%, 52%)
HSVhsv(94, 56%, 73%)
CMYKcmyk(31.9%, 0%, 56.2%, 27.5%)
CIE-LABlab(69.27, -37.11, 46.07)
CIE-LCHlch(69.27, 59.16, 128.85°)
OKLaboklab(72.25% -0.1031 0.1086)
OKLCHoklch(72.25% 0.15 133.5)
XYZxyz(27.4379, 39.7266, 14.0053)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB951 #8C51B9
analogous
#B2B951 #7EB951 #51B958
triadic
#7EB951 #517EB9 #B9517E
tetradic
#7EB951 #51B2B9 #8C51B9 #B95851
square
#7EB951 #51B2B9 #8C51B9 #B95851
split-complementary
#7EB951 #5851B9 #B951B2
monochromatic
#446629 #61923B #7EB951 #9ECB7D #BFDCA8

Accessibility & contrast

On white

2.35
#7EB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#7EB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB951
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB951#FFFFFF#000000##000000
##7EB9511.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#B7A758
Tritanopia (blue-blind)
#7EB2A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eb951;
/* rgb */ color: rgb(126, 185, 81);
/* oklch */ color: oklch(72.2% 0.150 133.5);
Tailwind
colors: {
  custom: {
    50: '#a7ce85',
    500: '#7eb951',
    950: '#000000',
  },
}
SCSS
$custom: #7eb951;
$custom-light: #a7ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb951",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 94.038,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72245,
    "c": 0.14969,
    "h": 133.5
  },
  "luminance": 0.39728
}

Semantic roles & 50–950 ramp

primary
#7EB951
secondary
#B69CCA
accent
#55D29C
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB951

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

Preview Lab → · Contrast checker → · Palette generator →

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