#7EA22D#7EA22D

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

Color values

HEX#7EA22D
RGBrgb(126, 162, 45)
HSLhsl(78, 57%, 41%)
HSVhsv(78, 72%, 64%)
CMYKcmyk(22.2%, 0%, 72.2%, 36.5%)
CIE-LABlab(62.05, -29.45, 53.69)
CIE-LCHlch(62.05, 61.23, 118.75°)
OKLaboklab(66.29% -0.0851 0.1202)
OKLCHoklch(66.29% 0.147 125.3)
XYZxyz(21.9983, 30.4655, 7.2036)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA22D #512DA2
analogous
#A28C2D #7EA22D #43A22D
triadic
#7EA22D #2D7EA2 #A22D7E
tetradic
#7EA22D #2DA28C #512DA2 #A22D43
square
#7EA22D #2DA28C #512DA2 #A22D43
split-complementary
#7EA22D #2D43A2 #8C2DA2
monochromatic
#334212 #597220 #7EA22D #A0CA42 #B8D872

Accessibility & contrast

On white

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

On black

7.09
#7EA22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA22D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA22D#FFFFFF#000000##000000
##7EA22D1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea22d;
/* rgb */ color: rgb(126, 162, 45);
/* oklch */ color: oklch(66.3% 0.147 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7ea22d',
    950: '#000000',
  },
}
SCSS
$custom: #7ea22d;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea22d",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 78.462,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66286,
    "c": 0.14728,
    "h": 125.3
  },
  "luminance": 0.30466
}

Semantic roles & 50–950 ramp

primary
#7EA22D
secondary
#856CBF
accent
#48E077
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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