#7EB440#7EB440

#7EB440 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.157 H 130.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7EB440
RGBrgb(126, 180, 64)
HSLhsl(88, 48%, 48%)
HSVhsv(88, 64%, 71%)
CMYKcmyk(30%, 0%, 64.4%, 29.4%)
CIE-LABlab(67.61, -36.44, 51.82)
CIE-LCHlch(67.61, 63.35, 125.12°)
OKLaboklab(70.84% -0.1026 0.119)
OKLCHoklch(70.84% 0.157 130.8)
XYZxyz(25.8506, 37.4475, 10.7156)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB440 #7640B4
analogous
#B4B040 #7EB440 #44B440
triadic
#7EB440 #407EB4 #B4407E
tetradic
#7EB440 #40B4B0 #7640B4 #B44044
square
#7EB440 #40B4B0 #7640B4 #B44044
split-complementary
#7EB440 #4044B4 #B040B4
monochromatic
#3F5A20 #5E8730 #7EB440 #9CC968 #BAD995

Accessibility & contrast

On white

2.47
#7EB440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7EB440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB440
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB440#FFFFFF#000000##000000
##7EB4401.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA731
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#81AD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb440;
/* rgb */ color: rgb(126, 180, 64);
/* oklch */ color: oklch(70.8% 0.157 130.8);
Tailwind
colors: {
  custom: {
    50: '#a7ca7a',
    500: '#7eb440',
    950: '#000000',
  },
}
SCSS
$custom: #7eb440;
$custom-light: #a7ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb440",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 87.931,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70841,
    "c": 0.15713,
    "h": 130.8
  },
  "luminance": 0.37448
}

Semantic roles & 50–950 ramp

primary
#7EB440
secondary
#A68BC5
accent
#51D78F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB440

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

Preview Lab → · Contrast checker → · Palette generator →

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