#7EA42E#7EA42E

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

Color values

HEX#7EA42E
RGBrgb(126, 164, 46)
HSLhsl(79, 56%, 41%)
HSVhsv(79, 72%, 64%)
CMYKcmyk(23.2%, 0%, 72%, 35.7%)
CIE-LABlab(62.66, -30.34, 53.92)
CIE-LCHlch(62.66, 61.87, 119.37°)
OKLaboklab(66.78% -0.0874 0.1209)
OKLCHoklch(66.78% 0.149 125.9)
XYZxyz(22.3729, 31.1835, 7.4245)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA42E #542EA4
analogous
#A48F2E #7EA42E #43A42E
triadic
#7EA42E #2E7EA4 #A42E7E
tetradic
#7EA42E #2EA48F #542EA4 #A42E43
square
#7EA42E #2EA48F #542EA4 #A42E43
split-complementary
#7EA42E #2E43A4 #8F2EA4
monochromatic
#354413 #597421 #7EA42E #9FCB45 #B8D874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA42E#FFFFFF#000000##000000
##7EA42E1.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)
#AD991A
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#839C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea42e;
/* rgb */ color: rgb(126, 164, 46);
/* oklch */ color: oklch(66.8% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7bf6f',
    500: '#7ea42e',
    950: '#000000',
  },
}
SCSS
$custom: #7ea42e;
$custom-light: #a7bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea42e",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 79.322,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.14917,
    "h": 125.9
  },
  "luminance": 0.31184
}

Semantic roles & 50–950 ramp

primary
#7EA42E
secondary
#886EC0
accent
#48DF79
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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