#7EB22D#7EB22D

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

Color values

HEX#7EB22D
RGBrgb(126, 178, 45)
HSLhsl(83, 60%, 44%)
HSVhsv(83, 75%, 70%)
CMYKcmyk(29.2%, 0%, 74.7%, 30.2%)
CIE-LABlab(66.87, -36.86, 58.41)
CIE-LCHlch(66.87, 69.07, 122.25°)
OKLaboklab(70.2% -0.1053 0.1301)
OKLCHoklch(70.2% 0.167 129)
XYZxyz(24.9982, 36.4652, 8.2035)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB22D #612DB2
analogous
#B2A32D #7EB22D #3BB22D
triadic
#7EB22D #2D7EB2 #B22D7E
tetradic
#7EB22D #2DB2A3 #612DB2 #B22D3B
square
#7EB22D #2DB2A3 #612DB2 #B22D3B
split-complementary
#7EB22D #2D3BB2 #A32DB2
monochromatic
#395014 #5B8121 #7EB22D #9DD14B #B7DE7C

Accessibility & contrast

On white

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

On black

8.29
#7EB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB22D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB22D#FFFFFF#000000##000000
##7EB22D1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb22d;
/* rgb */ color: rgb(126, 178, 45);
/* oklch */ color: oklch(70.2% 0.167 129.0);
Tailwind
colors: {
  custom: {
    50: '#a8c970',
    500: '#7eb22d',
    950: '#000000',
  },
}
SCSS
$custom: #7eb22d;
$custom-light: #a8c970;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb22d",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 83.459,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70198,
    "c": 0.16741,
    "h": 129
  },
  "luminance": 0.36466
}

Semantic roles & 50–950 ramp

primary
#7EB22D
secondary
#9575C6
accent
#45E383
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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