#7EB540#7EB540

#7EB540 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.1% C 0.158 H 130.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7EB540
RGBrgb(126, 181, 64)
HSLhsl(88, 48%, 48%)
HSVhsv(88, 65%, 71%)
CMYKcmyk(30.4%, 0%, 64.6%, 29%)
CIE-LABlab(67.91, -36.89, 52.14)
CIE-LCHlch(67.91, 63.88, 125.28°)
OKLaboklab(71.08% -0.1038 0.1197)
OKLCHoklch(71.08% 0.158 130.9)
XYZxyz(26.0532, 37.8527, 10.7831)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB540 #7740B5
analogous
#B5B140 #7EB540 #44B540
triadic
#7EB540 #407EB5 #B5407E
tetradic
#7EB540 #40B5B1 #7740B5 #B54044
square
#7EB540 #40B5B1 #7740B5 #B54044
split-complementary
#7EB540 #4044B5 #B140B5
monochromatic
#3F5B20 #5F8830 #7EB540 #9CCA68 #BADA96

Accessibility & contrast

On white

2.45
#7EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#7EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB540
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB540#FFFFFF#000000##000000
##7EB5401.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#B5A449
Tritanopia (blue-blind)
#80AE9D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb540;
/* rgb */ color: rgb(126, 181, 64);
/* oklch */ color: oklch(71.1% 0.158 130.9);
Tailwind
colors: {
  custom: {
    50: '#a7cb7a',
    500: '#7eb540',
    950: '#000000',
  },
}
SCSS
$custom: #7eb540;
$custom-light: #a7cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb540",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 88.205,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71085,
    "c": 0.15845,
    "h": 130.9
  },
  "luminance": 0.37854
}

Semantic roles & 50–950 ramp

primary
#7EB540
secondary
#A78BC5
accent
#50D790
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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