#7EB940#7EB940

#7EB940 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.1% C 0.164 H 131.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7EB940
RGBrgb(126, 185, 64)
HSLhsl(89, 49%, 49%)
HSVhsv(89, 65%, 73%)
CMYKcmyk(31.9%, 0%, 65.4%, 27.5%)
CIE-LABlab(69.11, -38.68, 53.44)
CIE-LCHlch(69.11, 65.97, 125.90°)
OKLaboklab(72.06% -0.1087 0.1224)
OKLCHoklch(72.06% 0.164 131.6)
XYZxyz(26.8783, 39.5028, 11.0581)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB940 #7B40B9
analogous
#B9B840 #7EB940 #42B940
triadic
#7EB940 #407EB9 #B9407E
tetradic
#7EB940 #40B9B8 #7B40B9 #B94042
square
#7EB940 #40B9B8 #7B40B9 #B94042
split-complementary
#7EB940 #4042B9 #B840B9
monochromatic
#405E21 #5F8C30 #7EB940 #9CCC6B #BBDB98

Accessibility & contrast

On white

2.36
#7EB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#7EB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB940
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB940#FFFFFF#000000##000000
##7EB9401.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC30
Deuteranopia (green-blind)
#B9A74A
Tritanopia (blue-blind)
#80B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eb940;
/* rgb */ color: rgb(126, 185, 64);
/* oklch */ color: oklch(72.1% 0.164 131.6);
Tailwind
colors: {
  custom: {
    50: '#a7ce7b',
    500: '#7eb940',
    950: '#000000',
  },
}
SCSS
$custom: #7eb940;
$custom-light: #a7ce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb940",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 89.256,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72063,
    "c": 0.16373,
    "h": 131.6
  },
  "luminance": 0.39504
}

Semantic roles & 50–950 ramp

primary
#7EB940
secondary
#AA8EC7
accent
#50D892
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB940

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

Preview Lab → · Contrast checker → · Palette generator →

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