#7EA72A#7EA72A

#7EA72A is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.155 H 126.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7EA72A
RGBrgb(126, 167, 42)
HSLhsl(80, 60%, 41%)
HSVhsv(80, 75%, 65%)
CMYKcmyk(24.6%, 0%, 74.9%, 34.5%)
CIE-LABlab(63.54, -31.99, 56.23)
CIE-LCHlch(63.54, 64.69, 119.64°)
OKLaboklab(67.49% -0.0923 0.1251)
OKLCHoklch(67.49% 0.155 126.4)
XYZxyz(22.8409, 32.2398, 7.2096)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72A #532AA7
analogous
#A7912A #7EA72A #3FA72A
triadic
#7EA72A #2A7EA7 #A72A7E
tetradic
#7EA72A #2AA791 #532AA7 #A72A3F
square
#7EA72A #2AA791 #532AA7 #A72A3F
split-complementary
#7EA72A #2A3FA7 #912AA7
monochromatic
#344511 #59761E #7EA72A #A0CF3F #B8DB70

Accessibility & contrast

On white

2.82
#7EA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7EA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA72A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA72A#FFFFFF#000000##000000
##7EA72A1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0F
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72a;
/* rgb */ color: rgb(126, 167, 42);
/* oklch */ color: oklch(67.5% 0.155 126.4);
Tailwind
colors: {
  custom: {
    50: '#a7c16d',
    500: '#7ea72a',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72a;
$custom-light: #a7c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72a",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 79.68,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67485,
    "c": 0.15543,
    "h": 126.4
  },
  "luminance": 0.3224
}

Semantic roles & 50–950 ramp

primary
#7EA72A
secondary
#876BC2
accent
#45E379
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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