#7EB841#7EB841

#7EB841 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.8% C 0.162 H 131.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#7EB841
RGBrgb(126, 184, 65)
HSLhsl(89, 48%, 49%)
HSVhsv(89, 65%, 72%)
CMYKcmyk(31.5%, 0%, 64.7%, 27.8%)
CIE-LABlab(68.82, -38.16, 52.70)
CIE-LCHlch(68.82, 65.06, 125.90°)
OKLaboklab(71.83% -0.1072 0.121)
OKLCHoklch(71.83% 0.162 131.5)
XYZxyz(26.6985, 39.0974, 11.1399)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB841 #7B41B8
analogous
#B8B741 #7EB841 #43B841
triadic
#7EB841 #417EB8 #B8417E
tetradic
#7EB841 #41B8B7 #7B41B8 #B84143
square
#7EB841 #41B8B7 #7B41B8 #B84143
split-complementary
#7EB841 #4143B8 #B741B8
monochromatic
#405E21 #5F8B31 #7EB841 #9CCB6B #BBDB99

Accessibility & contrast

On white

2.38
#7EB841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#7EB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB841
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB841#FFFFFF#000000##000000
##7EB8411.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB32
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#80B19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7eb841;
/* rgb */ color: rgb(126, 184, 65);
/* oklch */ color: oklch(71.8% 0.162 131.5);
Tailwind
colors: {
  custom: {
    50: '#a7cd7b',
    500: '#7eb841',
    950: '#000000',
  },
}
SCSS
$custom: #7eb841;
$custom-light: #a7cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb841",
  "rgb": {
    "r": 126,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 89.244,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71828,
    "c": 0.16166,
    "h": 131.5
  },
  "luminance": 0.39098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EB841

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

Preview Lab → · Contrast checker → · Palette generator →

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