#7EB72E#7EB72E

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

Color values

HEX#7EB72E
RGBrgb(126, 183, 46)
HSLhsl(85, 60%, 45%)
HSVhsv(85, 75%, 72%)
CMYKcmyk(31.1%, 0%, 74.9%, 28.2%)
CIE-LABlab(68.39, -39.03, 59.54)
CIE-LCHlch(68.39, 71.19, 123.25°)
OKLaboklab(71.43% -0.1111 0.1327)
OKLCHoklch(71.43% 0.173 130)
XYZxyz(26.0307, 38.4990, 8.6438)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72E #672EB7
analogous
#B7AC2E #7EB72E #39B72E
triadic
#7EB72E #2E7EB7 #B72E7E
tetradic
#7EB72E #2EB7AC #672EB7 #B72E39
square
#7EB72E #2EB7AC #672EB7 #B72E39
split-complementary
#7EB72E #2E39B7 #AC2EB7
monochromatic
#3B5515 #5C8622 #7EB72E #9CD34F #B8DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB72E#FFFFFF#000000##000000
##7EB72E1.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)
#C0A910
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#81AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7eb72e;
/* rgb */ color: rgb(126, 183, 46);
/* oklch */ color: oklch(71.4% 0.173 130.0);
Tailwind
colors: {
  custom: {
    50: '#a8cd71',
    500: '#7eb72e',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72e;
$custom-light: #a8cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72e",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 84.964,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.17305,
    "h": 130
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

primary
#7EB72E
secondary
#9A79C8
accent
#45E387
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72E

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

Preview Lab → · Contrast checker → · Palette generator →

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