#7EA42F#7EA42F

#7EA42F 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#7EA42F
RGBrgb(126, 164, 47)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 64%)
CMYKcmyk(23.2%, 0%, 71.3%, 35.7%)
CIE-LABlab(62.67, -30.28, 53.54)
CIE-LCHlch(62.67, 61.51, 119.49°)
OKLaboklab(66.79% -0.0872 0.1203)
OKLCHoklch(66.79% 0.149 125.9)
XYZxyz(22.3928, 31.1915, 7.5296)
Luminance0.3119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA42F #552FA4
analogous
#A4902F #7EA42F #44A42F
triadic
#7EA42F #2F7EA4 #A42F7E
tetradic
#7EA42F #2FA490 #552FA4 #A42F44
square
#7EA42F #2FA490 #552FA4 #A42F44
split-complementary
#7EA42F #2F44A4 #902FA4
monochromatic
#354514 #597421 #7EA42F #9FCA46 #B8D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA42F#FFFFFF#000000##000000
##7EA42F1.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)
#AD991B
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#839C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea42f;
/* rgb */ color: rgb(126, 164, 47);
/* oklch */ color: oklch(66.8% 0.149 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7bf6f',
    500: '#7ea42f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea42f;
$custom-light: #a7bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea42f",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 79.487,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.14852,
    "h": 125.9
  },
  "luminance": 0.31192
}

Semantic roles & 50–950 ramp

primary
#7EA42F
secondary
#896FC0
accent
#49DF7A
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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