#7EAC42#7EAC42

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

Color values

HEX#7EAC42
RGBrgb(126, 172, 66)
HSLhsl(86, 45%, 47%)
HSVhsv(86, 62%, 67%)
CMYKcmyk(26.7%, 0%, 61.6%, 32.5%)
CIE-LABlab(65.23, -32.60, 48.34)
CIE-LCHlch(65.23, 58.30, 124.00°)
OKLaboklab(68.91% -0.0919 0.1119)
OKLCHoklch(68.91% 0.145 129.4)
XYZxyz(24.3399, 34.3334, 10.4978)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAC42 #7042AC
analogous
#ACA542 #7EAC42 #49AC42
triadic
#7EAC42 #427EAC #AC427E
tetradic
#7EAC42 #42ACA5 #7042AC #AC4249
square
#7EAC42 #42ACA5 #7042AC #AC4249
split-complementary
#7EAC42 #4249AC #A542AC
monochromatic
#3D5420 #5E8031 #7EAC42 #9CC567 #B9D693

Accessibility & contrast

On white

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

On black

7.87
#7EAC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAC42
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAC42#FFFFFF#000000##000000
##7EAC421.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A036
Deuteranopia (green-blind)
#AD9D4A
Tritanopia (blue-blind)
#81A596
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7eac42;
/* rgb */ color: rgb(126, 172, 66);
/* oklch */ color: oklch(68.9% 0.145 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c57b',
    500: '#7eac42',
    950: '#000000',
  },
}
SCSS
$custom: #7eac42;
$custom-light: #a6c57b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eac42",
  "rgb": {
    "r": 126,
    "g": 172,
    "b": 66
  },
  "hsl": {
    "h": 86.038,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.6891,
    "c": 0.14475,
    "h": 129.4
  },
  "luminance": 0.34334
}

Semantic roles & 50–950 ramp

primary
#7EAC42
secondary
#A189C1
accent
#54D48B
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAC42

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

Preview Lab → · Contrast checker → · Palette generator →

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