#7EAC2D#7EAC2D

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

Color values

HEX#7EAC2D
RGBrgb(126, 172, 45)
HSLhsl(82, 59%, 43%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(26.7%, 0%, 73.8%, 32.5%)
CIE-LABlab(65.07, -34.14, 56.65)
CIE-LCHlch(65.07, 66.14, 121.07°)
OKLaboklab(68.73% -0.0979 0.1265)
OKLCHoklch(68.73% 0.16 127.7)
XYZxyz(23.8304, 34.1296, 7.8143)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC2D #5B2DAC
analogous
#AC9A2D #7EAC2D #3FAC2D
triadic
#7EAC2D #2D7EAC #AC2D7E
tetradic
#7EAC2D #2DAC9A #5B2DAC #AC2D3F
square
#7EAC2D #2DAC9A #5B2DAC #AC2D3F
split-complementary
#7EAC2D #2D3FAC #9A2DAC
monochromatic
#374B14 #5A7B20 #7EAC2D #9ECF47 #B7DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAC2D#FFFFFF#000000##000000
##7EAC2D1.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)
#B5A014
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#83A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac2d;
/* rgb */ color: rgb(126, 172, 45);
/* oklch */ color: oklch(68.7% 0.160 127.7);
Tailwind
colors: {
  custom: {
    50: '#a7c56f',
    500: '#7eac2d',
    950: '#000000',
  },
}
SCSS
$custom: #7eac2d;
$custom-light: #a7c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac2d",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 81.732,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68728,
    "c": 0.15991,
    "h": 127.7
  },
  "luminance": 0.3413
}

Semantic roles & 50–950 ramp

primary
#7EAC2D
secondary
#8F71C4
accent
#46E27E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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