#7EB840#7EB840

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

Color values

HEX#7EB840
RGBrgb(126, 184, 64)
HSLhsl(89, 48%, 49%)
HSVhsv(89, 65%, 72%)
CMYKcmyk(31.5%, 0%, 65.2%, 27.8%)
CIE-LABlab(68.81, -38.24, 53.11)
CIE-LCHlch(68.81, 65.45, 125.75°)
OKLaboklab(71.82% -0.1075 0.1217)
OKLCHoklch(71.82% 0.162 131.4)
XYZxyz(26.6698, 39.0859, 10.9886)
Luminance0.3909 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB840 #7A40B8
analogous
#B8B640 #7EB840 #42B840
triadic
#7EB840 #407EB8 #B8407E
tetradic
#7EB840 #40B8B6 #7A40B8 #B84042
square
#7EB840 #40B8B6 #7A40B8 #B84042
split-complementary
#7EB840 #4042B8 #B640B8
monochromatic
#405D20 #5F8B30 #7EB840 #9CCB6A #BADB97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB840#FFFFFF#000000##000000
##7EB8401.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)
#C0AB30
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#80B19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7eb840;
/* rgb */ color: rgb(126, 184, 64);
/* oklch */ color: oklch(71.8% 0.162 131.4);
Tailwind
colors: {
  custom: {
    50: '#a7cd7a',
    500: '#7eb840',
    950: '#000000',
  },
}
SCSS
$custom: #7eb840;
$custom-light: #a7cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb840",
  "rgb": {
    "r": 126,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 89,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.16242,
    "h": 131.4
  },
  "luminance": 0.39087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EB840

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

Preview Lab → · Contrast checker → · Palette generator →

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