#7EAB2E#7EAB2E

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

Color values

HEX#7EAB2E
RGBrgb(126, 171, 46)
HSLhsl(82, 58%, 43%)
HSVhsv(82, 73%, 67%)
CMYKcmyk(26.3%, 0%, 73.1%, 32.9%)
CIE-LABlab(64.77, -33.62, 56.01)
CIE-LCHlch(64.77, 65.32, 120.97°)
OKLaboklab(68.49% -0.0964 0.1253)
OKLCHoklch(68.49% 0.158 127.6)
XYZxyz(23.6603, 33.7582, 7.8537)
Luminance0.3376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB2E #5B2EAB
analogous
#AB9A2E #7EAB2E #3FAB2E
triadic
#7EAB2E #2E7EAB #AB2E7E
tetradic
#7EAB2E #2EAB9A #5B2EAB #AB2E3F
square
#7EAB2E #2EAB9A #5B2EAB #AB2E3F
split-complementary
#7EAB2E #2E3FAB #9A2EAB
monochromatic
#374B14 #5A7B21 #7EAB2E #9ECE48 #B7DB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAB2E#FFFFFF#000000##000000
##7EAB2E1.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)
#B49F17
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab2e;
/* rgb */ color: rgb(126, 171, 46);
/* oklch */ color: oklch(68.5% 0.158 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c46f',
    500: '#7eab2e',
    950: '#000000',
  },
}
SCSS
$custom: #7eab2e;
$custom-light: #a7c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab2e",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 81.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6849,
    "c": 0.15804,
    "h": 127.6
  },
  "luminance": 0.33759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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