#7EA22B#7EA22B

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

Color values

HEX#7EA22B
RGBrgb(126, 162, 43)
HSLhsl(78, 58%, 40%)
HSVhsv(78, 73%, 64%)
CMYKcmyk(22.2%, 0%, 73.5%, 36.5%)
CIE-LABlab(62.04, -29.57, 54.41)
CIE-LCHlch(62.04, 61.93, 118.52°)
OKLaboklab(66.27% -0.0856 0.1214)
OKLCHoklch(66.27% 0.149 125.2)
XYZxyz(21.9607, 30.4504, 7.0056)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA22B #4F2BA2
analogous
#A28A2B #7EA22B #43A22B
triadic
#7EA22B #2B7EA2 #A22B7E
tetradic
#7EA22B #2BA28A #4F2BA2 #A22B43
square
#7EA22B #2BA28A #4F2BA2 #A22B43
split-complementary
#7EA22B #2B43A2 #8A2BA2
monochromatic
#334111 #58721E #7EA22B #A1CC3E #B9D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA22B#FFFFFF#000000##000000
##7EA22B1.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)
#AB9714
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea22b;
/* rgb */ color: rgb(126, 162, 43);
/* oklch */ color: oklch(66.3% 0.149 125.2);
Tailwind
colors: {
  custom: {
    50: '#a7bd6d',
    500: '#7ea22b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea22b;
$custom-light: #a7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea22b",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 78.151,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.14855,
    "h": 125.2
  },
  "luminance": 0.30451
}

Semantic roles & 50–950 ramp

primary
#7EA22B
secondary
#8369C0
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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