#7EB72C#7EB72C

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

Color values

HEX#7EB72C
RGBrgb(126, 183, 44)
HSLhsl(85, 61%, 45%)
HSVhsv(85, 76%, 72%)
CMYKcmyk(31.1%, 0%, 76%, 28.2%)
CIE-LABlab(68.38, -39.15, 60.20)
CIE-LCHlch(68.38, 71.80, 123.04°)
OKLaboklab(71.42% -0.1116 0.1337)
OKLCHoklch(71.42% 0.174 129.8)
XYZxyz(25.9922, 38.4836, 8.4410)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72C #652CB7
analogous
#B7AA2C #7EB72C #39B72C
triadic
#7EB72C #2C7EB7 #B72C7E
tetradic
#7EB72C #2CB7AA #652CB7 #B72C39
square
#7EB72C #2CB7AA #652CB7 #B72C39
split-complementary
#7EB72C #2C39B7 #AA2CB7
monochromatic
#3A5414 #5C8620 #7EB72C #9CD44C #B8E07E

Accessibility & contrast

On white

2.41
#7EB72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#7EB72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB72C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB72C#FFFFFF#000000##000000
##7EB72C1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A90A
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#81AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7eb72c;
/* rgb */ color: rgb(126, 183, 44);
/* oklch */ color: oklch(71.4% 0.174 129.8);
Tailwind
colors: {
  custom: {
    50: '#a8cd70',
    500: '#7eb72c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72c;
$custom-light: #a8cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72c",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 84.604,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.17416,
    "h": 129.8
  },
  "luminance": 0.38484
}

Semantic roles & 50–950 ramp

primary
#7EB72C
secondary
#9876C8
accent
#43E485
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72C

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

Preview Lab → · Contrast checker → · Palette generator →

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