#7EAA2F#7EAA2F

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

Color values

HEX#7EAA2F
RGBrgb(126, 170, 47)
HSLhsl(81, 57%, 43%)
HSVhsv(81, 72%, 67%)
CMYKcmyk(25.9%, 0%, 72.4%, 33.3%)
CIE-LABlab(64.48, -33.09, 55.35)
CIE-LCHlch(64.48, 64.49, 120.88°)
OKLaboklab(68.25% -0.0949 0.124)
OKLCHoklch(68.25% 0.156 127.4)
XYZxyz(23.4920, 33.3898, 7.8960)
Luminance0.3339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA2F #5B2FAA
analogous
#AA982F #7EAA2F #41AA2F
triadic
#7EAA2F #2F7EAA #AA2F7E
tetradic
#7EAA2F #2FAA98 #5B2FAA #AA2F41
square
#7EAA2F #2FAA98 #5B2FAA #AA2F41
split-complementary
#7EAA2F #2F41AA #982FAA
monochromatic
#374A14 #5A7A22 #7EAA2F #9ECD49 #B7DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAA2F#FFFFFF#000000##000000
##7EAA2F1.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)
#B39E19
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#83A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa2f;
/* rgb */ color: rgb(126, 170, 47);
/* oklch */ color: oklch(68.3% 0.156 127.4);
Tailwind
colors: {
  custom: {
    50: '#a7c370',
    500: '#7eaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa2f;
$custom-light: #a7c370;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa2f",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 81.463,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.15615,
    "h": 127.4
  },
  "luminance": 0.3339
}

Semantic roles & 50–950 ramp

primary
#7EAA2F
secondary
#8F72C2
accent
#48E07E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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