#7EAC2F#7EAC2F

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

Color values

HEX#7EAC2F
RGBrgb(126, 172, 47)
HSLhsl(82, 57%, 43%)
HSVhsv(82, 73%, 67%)
CMYKcmyk(26.7%, 0%, 72.7%, 32.5%)
CIE-LABlab(65.08, -34.02, 55.95)
CIE-LCHlch(65.08, 65.48, 121.30°)
OKLaboklab(68.74% -0.0974 0.1253)
OKLCHoklch(68.74% 0.159 127.9)
XYZxyz(23.8698, 34.1454, 8.0219)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC2F #5D2FAC
analogous
#AC9B2F #7EAC2F #3FAC2F
triadic
#7EAC2F #2F7EAC #AC2F7E
tetradic
#7EAC2F #2FAC9B #5D2FAC #AC2F3F
square
#7EAC2F #2FAC9B #5D2FAC #AC2F3F
split-complementary
#7EAC2F #2F3FAC #9B2FAC
monochromatic
#384C15 #5B7C22 #7EAC2F #9DCE4B #B7DB7B

Accessibility & contrast

On white

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

On black

7.83
#7EAC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC2F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC2F#FFFFFF#000000##000000
##7EAC2F1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#AE9D3A
Tritanopia (blue-blind)
#83A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac2f;
/* rgb */ color: rgb(126, 172, 47);
/* oklch */ color: oklch(68.7% 0.159 127.9);
Tailwind
colors: {
  custom: {
    50: '#a7c570',
    500: '#7eac2f',
    950: '#000000',
  },
}
SCSS
$custom: #7eac2f;
$custom-light: #a7c570;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac2f",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 82.08,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68742,
    "c": 0.15868,
    "h": 127.9
  },
  "luminance": 0.34146
}

Semantic roles & 50–950 ramp

primary
#7EAC2F
secondary
#9174C3
accent
#47E080
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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