#7EA42D#7EA42D

#7EA42D is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.8% C 0.150 H 125.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7EA42D
RGBrgb(126, 164, 45)
HSLhsl(79, 57%, 41%)
HSVhsv(79, 73%, 64%)
CMYKcmyk(23.2%, 0%, 72.6%, 35.7%)
CIE-LABlab(62.66, -30.40, 54.28)
CIE-LCHlch(62.66, 62.22, 119.25°)
OKLaboklab(66.77% -0.0877 0.1215)
OKLCHoklch(66.77% 0.15 125.8)
XYZxyz(22.3534, 31.1757, 7.3219)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA42D #532DA4
analogous
#A48E2D #7EA42D #42A42D
triadic
#7EA42D #2D7EA4 #A42D7E
tetradic
#7EA42D #2DA48E #532DA4 #A42D42
square
#7EA42D #2DA48E #532DA4 #A42D42
split-complementary
#7EA42D #2D42A4 #8E2DA4
monochromatic
#344413 #597420 #7EA42D #A0CB43 #B8D973

Accessibility & contrast

On white

2.90
#7EA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7EA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA42D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA42D#FFFFFF#000000##000000
##7EA42D1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9918
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#839C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea42d;
/* rgb */ color: rgb(126, 164, 45);
/* oklch */ color: oklch(66.8% 0.150 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7bf6e',
    500: '#7ea42d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea42d;
$custom-light: #a7bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea42d",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 79.16,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66774,
    "c": 0.14982,
    "h": 125.8
  },
  "luminance": 0.31176
}

Semantic roles & 50–950 ramp

primary
#7EA42D
secondary
#876DC0
accent
#48E078
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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