#7EAC2A#7EAC2A

#7EAC2A is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.7% C 0.162 H 127.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7EAC2A
RGBrgb(126, 172, 42)
HSLhsl(81, 61%, 42%)
HSVhsv(81, 76%, 67%)
CMYKcmyk(26.7%, 0%, 75.6%, 32.5%)
CIE-LABlab(65.05, -34.31, 57.68)
CIE-LCHlch(65.05, 67.11, 120.74°)
OKLaboklab(68.71% -0.0986 0.1281)
OKLCHoklch(68.71% 0.162 127.6)
XYZxyz(23.7747, 34.1073, 7.5208)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC2A #582AAC
analogous
#AC992A #7EAC2A #3DAC2A
triadic
#7EAC2A #2A7EAC #AC2A7E
tetradic
#7EAC2A #2AAC99 #582AAC #AC2A3D
square
#7EAC2A #2AAC99 #582AAC #AC2A3D
split-complementary
#7EAC2A #2A3DAC #992AAC
monochromatic
#364A12 #5A7B1E #7EAC2A #9ED142 #B8DD73

Accessibility & contrast

On white

2.68
#7EAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#7EAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC2A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC2A#FFFFFF#000000##000000
##7EAC2A1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00C
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#83A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac2a;
/* rgb */ color: rgb(126, 172, 42);
/* oklch */ color: oklch(68.7% 0.162 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c56d',
    500: '#7eac2a',
    950: '#000000',
  },
}
SCSS
$custom: #7eac2a;
$custom-light: #a7c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac2a",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 81.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68708,
    "c": 0.16166,
    "h": 127.6
  },
  "luminance": 0.34108
}

Semantic roles & 50–950 ramp

primary
#7EAC2A
secondary
#8C6DC4
accent
#44E47D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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