#7EA240#7EA240

#7EA240 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.5% C 0.133 H 126.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7EA240
RGBrgb(126, 162, 64)
HSLhsl(82, 43%, 44%)
HSVhsv(82, 60%, 64%)
CMYKcmyk(22.2%, 0%, 60.5%, 36.5%)
CIE-LABlab(62.21, -28.03, 45.88)
CIE-LCHlch(62.21, 53.76, 121.42°)
OKLaboklab(66.46% -0.0794 0.1064)
OKLCHoklch(66.46% 0.133 126.7)
XYZxyz(22.4499, 30.6461, 9.5820)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA240 #6440A2
analogous
#A29540 #7EA240 #4DA240
triadic
#7EA240 #407EA2 #A2407E
tetradic
#7EA240 #40A295 #6440A2 #A2404D
square
#7EA240 #40A295 #6440A2 #A2404D
split-complementary
#7EA240 #404DA2 #9540A2
monochromatic
#3A4A1D #5C762F #7EA240 #9CC05F #B7D18B

Accessibility & contrast

On white

2.95
#7EA240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7EA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA240
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA240#FFFFFF#000000##000000
##7EA2401.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#829B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea240;
/* rgb */ color: rgb(126, 162, 64);
/* oklch */ color: oklch(66.5% 0.133 126.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd79',
    500: '#7ea240',
    950: '#000000',
  },
}
SCSS
$custom: #7ea240;
$custom-light: #a6bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea240",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 82.041,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.13277,
    "h": 126.7
  },
  "luminance": 0.30646
}

Semantic roles & 50–950 ramp

primary
#7EA240
secondary
#9782BC
accent
#55D383
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA240

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

Preview Lab → · Contrast checker → · Palette generator →

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