#7EAA2E#7EAA2E

#7EAA2E is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.2% C 0.157 H 127.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7EAA2E
RGBrgb(126, 170, 46)
HSLhsl(81, 57%, 42%)
HSVhsv(81, 73%, 67%)
CMYKcmyk(25.9%, 0%, 72.9%, 33.3%)
CIE-LABlab(64.47, -33.15, 55.71)
CIE-LCHlch(64.47, 64.83, 120.76°)
OKLaboklab(68.25% -0.0951 0.1246)
OKLCHoklch(68.25% 0.157 127.3)
XYZxyz(23.4721, 33.3819, 7.7909)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA2E #5A2EAA
analogous
#AA982E #7EAA2E #40AA2E
triadic
#7EAA2E #2E7EAA #AA2E7E
tetradic
#7EAA2E #2EAA98 #5A2EAA #AA2E40
square
#7EAA2E #2EAA98 #5A2EAA #AA2E40
split-complementary
#7EAA2E #2E40AA #982EAA
monochromatic
#374A14 #5A7A21 #7EAA2E #9ECD48 #B8DA78

Accessibility & contrast

On white

2.74
#7EAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7EAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA2E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA2E#FFFFFF#000000##000000
##7EAA2E1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E17
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#83A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa2e;
/* rgb */ color: rgb(126, 170, 46);
/* oklch */ color: oklch(68.2% 0.157 127.3);
Tailwind
colors: {
  custom: {
    50: '#a7c36f',
    500: '#7eaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa2e;
$custom-light: #a7c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa2e",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 81.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68246,
    "c": 0.15678,
    "h": 127.3
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#7EAA2E
secondary
#8E71C3
accent
#47E17E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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