#7EAB2A#7EAB2A

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

Color values

HEX#7EAB2A
RGBrgb(126, 171, 42)
HSLhsl(81, 61%, 42%)
HSVhsv(81, 75%, 67%)
CMYKcmyk(26.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.75, -33.85, 57.39)
CIE-LCHlch(64.75, 66.63, 120.53°)
OKLaboklab(68.46% -0.0973 0.1275)
OKLCHoklch(68.46% 0.16 127.3)
XYZxyz(23.5851, 33.7281, 7.4576)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB2A #572AAB
analogous
#AB982A #7EAB2A #3EAB2A
triadic
#7EAB2A #2A7EAB #AB2A7E
tetradic
#7EAB2A #2AAB98 #572AAB #AB2A3E
square
#7EAB2A #2AAB98 #572AAB #AB2A3E
split-complementary
#7EAB2A #2A3EAB #982AAB
monochromatic
#364912 #5A7A1E #7EAB2A #9FD142 #B8DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAB2A#FFFFFF#000000##000000
##7EAB2A1.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)
#B49F0D
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#83A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab2a;
/* rgb */ color: rgb(126, 171, 42);
/* oklch */ color: oklch(68.5% 0.160 127.3);
Tailwind
colors: {
  custom: {
    50: '#a7c46d',
    500: '#7eab2a',
    950: '#000000',
  },
}
SCSS
$custom: #7eab2a;
$custom-light: #a7c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab2a",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 80.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68463,
    "c": 0.16042,
    "h": 127.3
  },
  "luminance": 0.33729
}

Semantic roles & 50–950 ramp

primary
#7EAB2A
secondary
#8B6DC4
accent
#44E47C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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