#7EA642#7EA642

#7EA642 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 67.5% C 0.137 H 128.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7EA642
RGBrgb(126, 166, 66)
HSLhsl(84, 43%, 45%)
HSVhsv(84, 60%, 65%)
CMYKcmyk(24.1%, 0%, 60.2%, 34.9%)
CIE-LABlab(63.43, -29.77, 46.33)
CIE-LCHlch(63.43, 55.07, 122.72°)
OKLaboklab(67.45% -0.084 0.1076)
OKLCHoklch(67.45% 0.137 128)
XYZxyz(23.2237, 32.1010, 10.1258)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA642 #6A42A6
analogous
#A69C42 #7EA642 #4CA642
triadic
#7EA642 #427EA6 #A6427E
tetradic
#7EA642 #42A69C #6A42A6 #A6424C
square
#7EA642 #42A69C #6A42A6 #A6424C
split-complementary
#7EA642 #424CA6 #9C42A6
monochromatic
#3C4E1F #5D7A31 #7EA642 #9CC164 #B8D390

Accessibility & contrast

On white

2.83
#7EA642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#7EA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA642
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA642#FFFFFF#000000##000000
##7EA6421.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#A89949
Tritanopia (blue-blind)
#829F91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea642;
/* rgb */ color: rgb(126, 166, 66);
/* oklch */ color: oklch(67.5% 0.137 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c07a',
    500: '#7ea642',
    950: '#000000',
  },
}
SCSS
$custom: #7ea642;
$custom-light: #a6c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea642",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 84,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67452,
    "c": 0.13653,
    "h": 128
  },
  "luminance": 0.32101
}

Semantic roles & 50–950 ramp

primary
#7EA642
secondary
#9C86BE
accent
#55D387
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA642

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

Preview Lab → · Contrast checker → · Palette generator →

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