#7EAC4E#7EAC4E

#7EAC4E is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.0% C 0.134 H 130.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7EAC4E
RGBrgb(126, 172, 78)
HSLhsl(89, 38%, 49%)
HSVhsv(89, 55%, 67%)
CMYKcmyk(26.7%, 0%, 54.7%, 32.5%)
CIE-LABlab(65.35, -31.44, 42.90)
CIE-LCHlch(65.35, 53.18, 126.23°)
OKLaboklab(69.05% -0.0876 0.1014)
OKLCHoklch(69.05% 0.134 130.8)
XYZxyz(24.7316, 34.4901, 12.5605)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC4E #7C4EAC
analogous
#ACAB4E #7EAC4E #4FAC4E
triadic
#7EAC4E #4E7EAC #AC4E7E
tetradic
#7EAC4E #4EACAB #7C4EAC #AC4E4F
square
#7EAC4E #4EACAB #7C4EAC #AC4E4F
split-complementary
#7EAC4E #4E4FAC #AB4EAC
monochromatic
#405828 #5F823B #7EAC4E #9CC176 #BBD4A0

Accessibility & contrast

On white

2.66
#7EAC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#7EAC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC4E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC4E#FFFFFF#000000##000000
##7EAC4E1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A145
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#80A697
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #7eac4e;
/* rgb */ color: rgb(126, 172, 78);
/* oklch */ color: oklch(69.0% 0.134 130.8);
Tailwind
colors: {
  custom: {
    50: '#a6c582',
    500: '#7eac4e',
    950: '#000000',
  },
}
SCSS
$custom: #7eac4e;
$custom-light: #a6c582;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac4e",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 89.362,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.13403,
    "h": 130.8
  },
  "luminance": 0.34491
}

Semantic roles & 50–950 ramp

primary
#7EAC4E
secondary
#AA95C1
accent
#5ACE93
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EAC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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