#7EA940#7EA940

#7EA940 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.2% C 0.142 H 128.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7EA940
RGBrgb(126, 169, 64)
HSLhsl(85, 45%, 46%)
HSVhsv(85, 62%, 66%)
CMYKcmyk(25.4%, 0%, 62.1%, 33.7%)
CIE-LABlab(64.31, -31.37, 48.21)
CIE-LCHlch(64.31, 57.52, 123.05°)
OKLaboklab(68.16% -0.0886 0.1114)
OKLCHoklch(68.16% 0.142 128.5)
XYZxyz(23.7175, 33.1812, 10.0045)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA940 #6B40A9
analogous
#A99F40 #7EA940 #4AA940
triadic
#7EA940 #407EA9 #A9407E
tetradic
#7EA940 #40A99F #6B40A9 #A9404A
square
#7EA940 #40A99F #6B40A9 #A9404A
split-complementary
#7EA940 #404AA9 #9F40A9
monochromatic
#3C501E #5D7D2F #7EA940 #9CC462 #B8D58F

Accessibility & contrast

On white

2.75
#7EA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7EA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA940
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA940#FFFFFF#000000##000000
##7EA9401.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#82A293
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ea940;
/* rgb */ color: rgb(126, 169, 64);
/* oklch */ color: oklch(68.2% 0.142 128.5);
Tailwind
colors: {
  custom: {
    50: '#a6c279',
    500: '#7ea940',
    950: '#000000',
  },
}
SCSS
$custom: #7ea940;
$custom-light: #a6c279;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea940",
  "rgb": {
    "r": 126,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 84.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.14234,
    "h": 128.5
  },
  "luminance": 0.33182
}

Semantic roles & 50–950 ramp

primary
#7EA940
secondary
#9D85C0
accent
#53D588
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA940

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

Preview Lab → · Contrast checker → · Palette generator →

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