#7EA22F#7EA22F

#7EA22F is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.146 H 125.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7EA22F
RGBrgb(126, 162, 47)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 64%)
CMYKcmyk(22.2%, 0%, 71%, 36.5%)
CIE-LABlab(62.07, -29.33, 52.94)
CIE-LCHlch(62.07, 60.52, 118.98°)
OKLaboklab(66.3% -0.0845 0.119)
OKLCHoklch(66.3% 0.146 125.4)
XYZxyz(22.0377, 30.4812, 7.4112)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA22F #532FA2
analogous
#A28C2F #7EA22F #44A22F
triadic
#7EA22F #2F7EA2 #A22F7E
tetradic
#7EA22F #2FA28C #532FA2 #A22F44
square
#7EA22F #2FA28C #532FA2 #A22F44
split-complementary
#7EA22F #2F44A2 #8C2FA2
monochromatic
#344313 #597321 #7EA22F #A0C945 #B8D775

Accessibility & contrast

On white

2.96
#7EA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7EA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA22F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA22F#FFFFFF#000000##000000
##7EA22F1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971C
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea22f;
/* rgb */ color: rgb(126, 162, 47);
/* oklch */ color: oklch(66.3% 0.146 125.4);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7ea22f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea22f;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea22f",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 78.783,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66301,
    "c": 0.14596,
    "h": 125.4
  },
  "luminance": 0.30482
}

Semantic roles & 50–950 ramp

primary
#7EA22F
secondary
#876EBF
accent
#49DE78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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