#7EB640#7EB640

#7EB640 is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.3% C 0.160 H 131.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7EB640
RGBrgb(126, 182, 64)
HSLhsl(88, 48%, 48%)
HSVhsv(88, 65%, 71%)
CMYKcmyk(30.8%, 0%, 64.8%, 28.6%)
CIE-LABlab(68.21, -37.34, 52.47)
CIE-LCHlch(68.21, 64.40, 125.44°)
OKLaboklab(71.33% -0.1051 0.1204)
OKLCHoklch(71.33% 0.16 131.1)
XYZxyz(26.2573, 38.2608, 10.8511)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB640 #7840B6
analogous
#B6B340 #7EB640 #43B640
triadic
#7EB640 #407EB6 #B6407E
tetradic
#7EB640 #40B6B3 #7840B6 #B64043
square
#7EB640 #40B6B3 #7840B6 #B64043
split-complementary
#7EB640 #4043B6 #B340B6
monochromatic
#3F5B20 #5F8930 #7EB640 #9CCA69 #BADA96

Accessibility & contrast

On white

2.43
#7EB640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#7EB640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB640
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB640#FFFFFF#000000##000000
##7EB6401.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#80AF9E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7eb640;
/* rgb */ color: rgb(126, 182, 64);
/* oklch */ color: oklch(71.3% 0.160 131.1);
Tailwind
colors: {
  custom: {
    50: '#a7cc7a',
    500: '#7eb640',
    950: '#000000',
  },
}
SCSS
$custom: #7eb640;
$custom-light: #a7cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb640",
  "rgb": {
    "r": 126,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 88.475,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.15978,
    "h": 131.1
  },
  "luminance": 0.38262
}

Semantic roles & 50–950 ramp

primary
#7EB640
secondary
#A78CC6
accent
#50D890
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB640

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

Preview Lab → · Contrast checker → · Palette generator →

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