#7EB72D#7EB72D

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

Color values

HEX#7EB72D
RGBrgb(126, 183, 45)
HSLhsl(85, 61%, 45%)
HSVhsv(85, 75%, 72%)
CMYKcmyk(31.1%, 0%, 75.4%, 28.2%)
CIE-LABlab(68.38, -39.09, 59.87)
CIE-LCHlch(68.38, 71.50, 123.14°)
OKLaboklab(71.42% -0.1113 0.1332)
OKLCHoklch(71.42% 0.174 129.9)
XYZxyz(26.0112, 38.4912, 8.5412)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72D #662DB7
analogous
#B7AB2D #7EB72D #39B72D
triadic
#7EB72D #2D7EB7 #B72D7E
tetradic
#7EB72D #2DB7AB #662DB7 #B72D39
square
#7EB72D #2DB7AB #662DB7 #B72D39
split-complementary
#7EB72D #2D39B7 #AB2DB7
monochromatic
#3A5515 #5C8621 #7EB72D #9CD34E #B8DF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7eb72d;
/* rgb */ color: rgb(126, 183, 45);
/* oklch */ color: oklch(71.4% 0.174 129.9);
Tailwind
colors: {
  custom: {
    50: '#a8cd70',
    500: '#7eb72d',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72d;
$custom-light: #a8cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72d",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 84.783,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.17361,
    "h": 129.9
  },
  "luminance": 0.38492
}

Semantic roles & 50–950 ramp

primary
#7EB72D
secondary
#9978C8
accent
#44E486
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72D

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

Preview Lab → · Contrast checker → · Palette generator →

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