#7EB72F#7EB72F

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

Color values

HEX#7EB72F
RGBrgb(126, 183, 47)
HSLhsl(85, 59%, 45%)
HSVhsv(85, 74%, 72%)
CMYKcmyk(31.1%, 0%, 74.3%, 28.2%)
CIE-LABlab(68.39, -38.98, 59.20)
CIE-LCHlch(68.39, 70.88, 123.36°)
OKLaboklab(71.44% -0.1109 0.1321)
OKLCHoklch(71.44% 0.172 130)
XYZxyz(26.0506, 38.5070, 8.7488)
Luminance0.3851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72F #682FB7
analogous
#B7AC2F #7EB72F #3AB72F
triadic
#7EB72F #2F7EB7 #B72F7E
tetradic
#7EB72F #2FB7AC #682FB7 #B72F3A
square
#7EB72F #2FB7AC #682FB7 #B72F3A
split-complementary
#7EB72F #2F3AB7 #AC2FB7
monochromatic
#3B5616 #5C8622 #7EB72F #9CD251 #B8DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB72F#FFFFFF#000000##000000
##7EB72F1.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)
#C0A913
Deuteranopia (green-blind)
#B8A53C
Tritanopia (blue-blind)
#81AF9D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7eb72f;
/* rgb */ color: rgb(126, 183, 47);
/* oklch */ color: oklch(71.4% 0.172 130.0);
Tailwind
colors: {
  custom: {
    50: '#a8cd71',
    500: '#7eb72f',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72f;
$custom-light: #a8cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72f",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 85.147,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71437,
    "c": 0.17248,
    "h": 130
  },
  "luminance": 0.38508
}

Semantic roles & 50–950 ramp

primary
#7EB72F
secondary
#9B7AC8
accent
#45E287
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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