#7EAB2F#7EAB2F

#7EAB2F is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.157 H 127.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7EAB2F
RGBrgb(126, 171, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 67%)
CMYKcmyk(26.3%, 0%, 72.5%, 32.9%)
CIE-LABlab(64.78, -33.56, 55.65)
CIE-LCHlch(64.78, 64.98, 121.09°)
OKLaboklab(68.5% -0.0961 0.1247)
OKLCHoklch(68.5% 0.157 127.6)
XYZxyz(23.6802, 33.7662, 7.9587)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB2F #5C2FAB
analogous
#AB9A2F #7EAB2F #40AB2F
triadic
#7EAB2F #2F7EAB #AB2F7E
tetradic
#7EAB2F #2FAB9A #5C2FAB #AB2F40
square
#7EAB2F #2FAB9A #5C2FAB #AB2F40
split-complementary
#7EAB2F #2F40AB #9A2FAB
monochromatic
#374B15 #5B7B22 #7EAB2F #9ECD4A #B7DA7A

Accessibility & contrast

On white

2.71
#7EAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7EAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB2F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB2F#FFFFFF#000000##000000
##7EAB2F1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F19
Deuteranopia (green-blind)
#AE9C3A
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab2f;
/* rgb */ color: rgb(126, 171, 47);
/* oklch */ color: oklch(68.5% 0.157 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c470',
    500: '#7eab2f',
    950: '#000000',
  },
}
SCSS
$custom: #7eab2f;
$custom-light: #a7c470;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab2f",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 81.774,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68498,
    "c": 0.15741,
    "h": 127.6
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

primary
#7EAB2F
secondary
#9073C3
accent
#48E07F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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