#7EAC3A#7EAC3A

#7EAC3A is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.151 H 128.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7EAC3A
RGBrgb(126, 172, 58)
HSLhsl(84, 50%, 45%)
HSVhsv(84, 66%, 67%)
CMYKcmyk(26.7%, 0%, 66.3%, 32.5%)
CIE-LABlab(65.16, -33.26, 51.72)
CIE-LCHlch(65.16, 61.49, 122.74°)
OKLaboklab(68.83% -0.0944 0.118)
OKLCHoklch(68.83% 0.151 128.6)
XYZxyz(24.1204, 34.2456, 9.3414)
Luminance0.3425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC3A #683AAC
analogous
#ACA13A #7EAC3A #45AC3A
triadic
#7EAC3A #3A7EAC #AC3A7E
tetradic
#7EAC3A #3AACA1 #683AAC #AC3A45
square
#7EAC3A #3AACA1 #683AAC #AC3A45
split-complementary
#7EAC3A #3A45AC #A13AAC
monochromatic
#3B501B #5C7E2B #7EAC3A #9CC85B #B8D789

Accessibility & contrast

On white

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

On black

7.85
#7EAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC3A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC3A#FFFFFF#000000##000000
##7EAC3A1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02B
Deuteranopia (green-blind)
#AE9D43
Tritanopia (blue-blind)
#82A595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac3a;
/* rgb */ color: rgb(126, 172, 58);
/* oklch */ color: oklch(68.8% 0.151 128.6);
Tailwind
colors: {
  custom: {
    50: '#a7c576',
    500: '#7eac3a',
    950: '#000000',
  },
}
SCSS
$custom: #7eac3a;
$custom-light: #a7c576;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac3a",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 84.211,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68832,
    "c": 0.1511,
    "h": 128.6
  },
  "luminance": 0.34246
}

Semantic roles & 50–950 ramp

primary
#7EAC3A
secondary
#9B80C2
accent
#4FD987
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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