#7EA822#7EA822

#7EA822 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.7% C 0.161 H 126.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7EA822
RGBrgb(126, 168, 34)
HSLhsl(79, 66%, 40%)
HSVhsv(79, 80%, 66%)
CMYKcmyk(25%, 0%, 79.8%, 34.1%)
CIE-LABlab(63.80, -32.86, 59.06)
CIE-LCHlch(63.80, 67.58, 119.09°)
OKLaboklab(67.68% -0.0952 0.1297)
OKLCHoklch(67.68% 0.161 126.3)
XYZxyz(22.8957, 32.5560, 6.5907)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA822 #4C22A8
analogous
#A88F22 #7EA822 #3BA822
triadic
#7EA822 #227EA8 #A8227E
tetradic
#7EA822 #22A88F #4C22A8 #A8223B
square
#7EA822 #22A88F #4C22A8 #A8223B
split-complementary
#7EA822 #223BA8 #8F22A8
monochromatic
#32420D #587518 #7EA822 #A2D532 #B9E065

Accessibility & contrast

On white

2.80
#7EA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7EA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA822
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA822#FFFFFF#000000##000000
##7EA8221.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A30
Tritanopia (blue-blind)
#84A08F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea822;
/* rgb */ color: rgb(126, 168, 34);
/* oklch */ color: oklch(67.7% 0.161 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c269',
    500: '#7ea822',
    950: '#000000',
  },
}
SCSS
$custom: #7ea822;
$custom-light: #a7c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea822",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 78.806,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.16093,
    "h": 126.3
  },
  "luminance": 0.32556
}

Semantic roles & 50–950 ramp

primary
#7EA822
secondary
#8061C5
accent
#3FE974
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA822

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

Preview Lab → · Contrast checker → · Palette generator →

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