#7EB040#7EB040

#7EB040 is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 69.9% C 0.152 H 130.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7EB040
RGBrgb(126, 176, 64)
HSLhsl(87, 47%, 47%)
HSVhsv(87, 64%, 69%)
CMYKcmyk(28.4%, 0%, 63.6%, 31%)
CIE-LABlab(66.41, -34.62, 50.52)
CIE-LCHlch(66.41, 61.24, 124.42°)
OKLaboklab(69.86% -0.0976 0.1163)
OKLCHoklch(69.86% 0.152 130)
XYZxyz(25.0548, 35.8558, 10.4503)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB040 #7240B0
analogous
#B0AA40 #7EB040 #46B040
triadic
#7EB040 #407EB0 #B0407E
tetradic
#7EB040 #40B0AA #7240B0 #B04046
square
#7EB040 #40B0AA #7240B0 #B04046
split-complementary
#7EB040 #4046B0 #AA40B0
monochromatic
#3E561F #5E8330 #7EB040 #9CC766 #B9D893

Accessibility & contrast

On white

2.57
#7EB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#7EB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB040
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB040#FFFFFF#000000##000000
##7EB0401.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#B1A049
Tritanopia (blue-blind)
#81A999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eb040;
/* rgb */ color: rgb(126, 176, 64);
/* oklch */ color: oklch(69.9% 0.152 130.0);
Tailwind
colors: {
  custom: {
    50: '#a7c87a',
    500: '#7eb040',
    950: '#000000',
  },
}
SCSS
$custom: #7eb040;
$custom-light: #a7c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb040",
  "rgb": {
    "r": 126,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 86.786,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69865,
    "c": 0.15178,
    "h": 130
  },
  "luminance": 0.35856
}

Semantic roles & 50–950 ramp

primary
#7EB040
secondary
#A389C3
accent
#51D68D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB040

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

Preview Lab → · Contrast checker → · Palette generator →

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