#7EB340#7EB340

#7EB340 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.6% C 0.156 H 130.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7EB340
RGBrgb(126, 179, 64)
HSLhsl(88, 47%, 48%)
HSVhsv(88, 64%, 70%)
CMYKcmyk(29.6%, 0%, 64.2%, 29.8%)
CIE-LABlab(67.31, -35.99, 51.49)
CIE-LCHlch(67.31, 62.82, 124.95°)
OKLaboklab(70.6% -0.1013 0.1183)
OKLCHoklch(70.6% 0.156 130.6)
XYZxyz(25.6495, 37.0452, 10.6485)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB340 #7540B3
analogous
#B3AE40 #7EB340 #45B340
triadic
#7EB340 #407EB3 #B3407E
tetradic
#7EB340 #40B3AE #7540B3 #B34045
square
#7EB340 #40B3AE #7540B3 #B34045
split-complementary
#7EB340 #4045B3 #AE40B3
monochromatic
#3F5920 #5E8630 #7EB340 #9CC967 #B9D994

Accessibility & contrast

On white

2.50
#7EB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#7EB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB340
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB340#FFFFFF#000000##000000
##7EB3401.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#B3A349
Tritanopia (blue-blind)
#81AC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb340;
/* rgb */ color: rgb(126, 179, 64);
/* oklch */ color: oklch(70.6% 0.156 130.6);
Tailwind
colors: {
  custom: {
    50: '#a7ca7a',
    500: '#7eb340',
    950: '#000000',
  },
}
SCSS
$custom: #7eb340;
$custom-light: #a7ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb340",
  "rgb": {
    "r": 126,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 87.652,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.15579,
    "h": 130.6
  },
  "luminance": 0.37046
}

Semantic roles & 50–950 ramp

primary
#7EB340
secondary
#A58AC4
accent
#51D78F
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB340

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

Preview Lab → · Contrast checker → · Palette generator →

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