#7EB72B#7EB72B

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

Color values

HEX#7EB72B
RGBrgb(126, 183, 43)
HSLhsl(84, 62%, 44%)
HSVhsv(84, 77%, 72%)
CMYKcmyk(31.1%, 0%, 76.5%, 28.2%)
CIE-LABlab(68.37, -39.20, 60.52)
CIE-LCHlch(68.37, 72.10, 122.93°)
OKLaboklab(71.41% -0.1118 0.1343)
OKLCHoklch(71.41% 0.175 129.8)
XYZxyz(25.9736, 38.4762, 8.3432)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB72B #642BB7
analogous
#B7AA2B #7EB72B #38B72B
triadic
#7EB72B #2B7EB7 #B72B7E
tetradic
#7EB72B #2BB7AA #642BB7 #B72B38
square
#7EB72B #2BB7AA #642BB7 #B72B38
split-complementary
#7EB72B #2B38B7 #AA2BB7
monochromatic
#3A5414 #5C851F #7EB72B #9CD54B #B7E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB72B#FFFFFF#000000##000000
##7EB72B1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb72b;
/* rgb */ color: rgb(126, 183, 43);
/* oklch */ color: oklch(71.4% 0.175 129.8);
Tailwind
colors: {
  custom: {
    50: '#a8cd6f',
    500: '#7eb72b',
    950: '#000000',
  },
}
SCSS
$custom: #7eb72b;
$custom-light: #a8cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb72b",
  "rgb": {
    "r": 126,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 84.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71412,
    "c": 0.1747,
    "h": 129.8
  },
  "luminance": 0.38477
}

Semantic roles & 50–950 ramp

primary
#7EB72B
secondary
#9775C9
accent
#43E585
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB72B

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

Preview Lab → · Contrast checker → · Palette generator →

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