#7EAC3C#7EAC3C

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

Color values

HEX#7EAC3C
RGBrgb(126, 172, 60)
HSLhsl(85, 48%, 45%)
HSVhsv(85, 65%, 67%)
CMYKcmyk(26.7%, 0%, 65.1%, 32.5%)
CIE-LABlab(65.17, -33.10, 50.89)
CIE-LCHlch(65.17, 60.71, 123.04°)
OKLaboklab(68.85% -0.0938 0.1165)
OKLCHoklch(68.85% 0.15 128.8)
XYZxyz(24.1722, 34.2663, 9.6146)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC3C #6A3CAC
analogous
#ACA23C #7EAC3C #46AC3C
triadic
#7EAC3C #3C7EAC #AC3C7E
tetradic
#7EAC3C #3CACA2 #6A3CAC #AC3C46
square
#7EAC3C #3CACA2 #6A3CAC #AC3C46
split-complementary
#7EAC3C #3C46AC #A23CAC
monochromatic
#3C511C #5D7F2C #7EAC3C #9CC75E #B8D78C

Accessibility & contrast

On white

2.67
#7EAC3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAC3C#FFFFFF#000000##000000
##7EAC3C1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eac3c;
/* rgb */ color: rgb(126, 172, 60);
/* oklch */ color: oklch(68.8% 0.150 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c577',
    500: '#7eac3c',
    950: '#000000',
  },
}
SCSS
$custom: #7eac3c;
$custom-light: #a7c577;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac3c",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 60
  },
  "hsl": {
    "h": 84.643,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6885,
    "c": 0.14958,
    "h": 128.8
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#7EAC3C
secondary
#9C82C1
accent
#50D888
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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