#7EAC3F#7EAC3F

#7EAC3F is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.9% C 0.147 H 129.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7EAC3F
RGBrgb(126, 172, 63)
HSLhsl(85, 46%, 46%)
HSVhsv(85, 63%, 67%)
CMYKcmyk(26.7%, 0%, 63.4%, 32.5%)
CIE-LABlab(65.20, -32.86, 49.63)
CIE-LCHlch(65.20, 59.52, 123.51°)
OKLaboklab(68.88% -0.0928 0.1143)
OKLCHoklch(68.88% 0.147 129.1)
XYZxyz(24.2538, 34.2990, 10.0442)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC3F #6D3FAC
analogous
#ACA33F #7EAC3F #47AC3F
triadic
#7EAC3F #3F7EAC #AC3F7E
tetradic
#7EAC3F #3FACA3 #6D3FAC #AC3F47
square
#7EAC3F #3FACA3 #6D3FAC #AC3F47
split-complementary
#7EAC3F #3F47AC #A33FAC
monochromatic
#3C521E #5D7F2F #7EAC3F #9CC663 #B8D68F

Accessibility & contrast

On white

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

On black

7.86
#7EAC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC3F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC3F#FFFFFF#000000##000000
##7EAC3F1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eac3f;
/* rgb */ color: rgb(126, 172, 63);
/* oklch */ color: oklch(68.9% 0.147 129.1);
Tailwind
colors: {
  custom: {
    50: '#a6c579',
    500: '#7eac3f',
    950: '#000000',
  },
}
SCSS
$custom: #7eac3f;
$custom-light: #a6c579;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac3f",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 85.321,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.68879,
    "c": 0.14722,
    "h": 129.1
  },
  "luminance": 0.343
}

Semantic roles & 50–950 ramp

primary
#7EAC3F
secondary
#9F86C1
accent
#52D68A
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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