#7EAC2C#7EAC2C

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

Color values

HEX#7EAC2C
RGBrgb(126, 172, 44)
HSLhsl(82, 59%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(26.7%, 0%, 74.4%, 32.5%)
CIE-LABlab(65.06, -34.19, 57.00)
CIE-LCHlch(65.06, 66.47, 120.96°)
OKLaboklab(68.72% -0.0981 0.127)
OKLCHoklch(68.72% 0.161 127.7)
XYZxyz(23.8114, 34.1220, 7.7141)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC2C #5A2CAC
analogous
#AC9A2C #7EAC2C #3EAC2C
triadic
#7EAC2C #2C7EAC #AC2C7E
tetradic
#7EAC2C #2CAC9A #5A2CAC #AC2C3E
square
#7EAC2C #2CAC9A #5A2CAC #AC2C3E
split-complementary
#7EAC2C #2C3EAC #9A2CAC
monochromatic
#374B13 #5A7B20 #7EAC2C #9ED046 #B7DC76

Accessibility & contrast

On white

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

On black

7.82
#7EAC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC2C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC2C#FFFFFF#000000##000000
##7EAC2C1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#AE9D38
Tritanopia (blue-blind)
#83A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac2c;
/* rgb */ color: rgb(126, 172, 44);
/* oklch */ color: oklch(68.7% 0.161 127.7);
Tailwind
colors: {
  custom: {
    50: '#a7c56e',
    500: '#7eac2c',
    950: '#000000',
  },
}
SCSS
$custom: #7eac2c;
$custom-light: #a7c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac2c",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 81.563,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.16051,
    "h": 127.7
  },
  "luminance": 0.34123
}

Semantic roles & 50–950 ramp

primary
#7EAC2C
secondary
#8E70C4
accent
#45E27E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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