#7EB72A#7EB72A

#7EB72A is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.4% C 0.175 H 129.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7EB72A
RGBrgb(126, 183, 42)
HSLhsl(84, 63%, 44%)
HSVhsv(84, 77%, 72%)
CMYKcmyk(31.1%, 0%, 77%, 28.2%)
CIE-LABlab(68.36, -39.25, 60.83)
CIE-LCHlch(68.36, 72.40, 122.83°)
OKLaboklab(71.41% -0.112 0.1348)
OKLCHoklch(71.41% 0.175 129.7)
XYZxyz(25.9555, 38.4690, 8.2478)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72A #632AB7
analogous
#B7AA2A #7EB72A #38B72A
triadic
#7EB72A #2A7EB7 #B72A7E
tetradic
#7EB72A #2AB7AA #632AB7 #B72A38
square
#7EB72A #2AB7AA #632AB7 #B72A38
split-complementary
#7EB72A #2A38B7 #AA2AB7
monochromatic
#395313 #5C851F #7EB72A #9DD549 #B7E17B

Accessibility & contrast

On white

2.42
#7EB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#7EB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB72A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB72A#FFFFFF#000000##000000
##7EB72A1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A903
Deuteranopia (green-blind)
#B8A539
Tritanopia (blue-blind)
#82AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7eb72a;
/* rgb */ color: rgb(126, 183, 42);
/* oklch */ color: oklch(71.4% 0.175 129.7);
Tailwind
colors: {
  custom: {
    50: '#a8cd6f',
    500: '#7eb72a',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72a;
$custom-light: #a8cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72a",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 84.255,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.17523,
    "h": 129.7
  },
  "luminance": 0.3847
}

Semantic roles & 50–950 ramp

primary
#7EB72A
secondary
#9674C9
accent
#42E684
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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