#7EB22F#7EB22F

#7EB22F is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.2% C 0.166 H 129.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7EB22F
RGBrgb(126, 178, 47)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 74%, 70%)
CMYKcmyk(29.2%, 0%, 73.6%, 30.2%)
CIE-LABlab(66.89, -36.75, 57.73)
CIE-LCHlch(66.89, 68.43, 122.48°)
OKLaboklab(70.21% -0.1048 0.129)
OKLCHoklch(70.21% 0.166 129.1)
XYZxyz(25.0376, 36.4810, 8.4112)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB22F #632FB2
analogous
#B2A52F #7EB22F #3DB22F
triadic
#7EB22F #2F7EB2 #B22F7E
tetradic
#7EB22F #2FB2A5 #632FB2 #B22F3D
square
#7EB22F #2FB2A5 #632FB2 #B22F3D
split-complementary
#7EB22F #2F3DB2 #A52FB2
monochromatic
#395115 #5C8222 #7EB22F #9DD04E #B7DD7E

Accessibility & contrast

On white

2.53
#7EB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#7EB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB22F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB22F#FFFFFF#000000##000000
##7EB22F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA515
Deuteranopia (green-blind)
#B3A23B
Tritanopia (blue-blind)
#82AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb22f;
/* rgb */ color: rgb(126, 178, 47);
/* oklch */ color: oklch(70.2% 0.166 129.1);
Tailwind
colors: {
  custom: {
    50: '#a8c971',
    500: '#7eb22f',
    950: '#000000',
  },
}
SCSS
$custom: #7eb22f;
$custom-light: #a8c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb22f",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 83.817,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.16625,
    "h": 129.1
  },
  "luminance": 0.36482
}

Semantic roles & 50–950 ramp

primary
#7EB22F
secondary
#9677C6
accent
#46E184
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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