#7EB127#7EB127

#7EB127 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.9% C 0.169 H 128.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7EB127
RGBrgb(126, 177, 39)
HSLhsl(82, 64%, 42%)
HSVhsv(82, 78%, 69%)
CMYKcmyk(28.8%, 0%, 78%, 30.6%)
CIE-LABlab(66.54, -36.73, 60.06)
CIE-LCHlch(66.54, 70.41, 121.45°)
OKLaboklab(69.92% -0.1054 0.1327)
OKLCHoklch(69.92% 0.169 128.5)
XYZxyz(24.6925, 36.0258, 7.5718)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB127 #5A27B1
analogous
#B19F27 #7EB127 #39B127
triadic
#7EB127 #277EB1 #B1277E
tetradic
#7EB127 #27B19F #5A27B1 #B12739
square
#7EB127 #27B19F #5A27B1 #B12739
split-complementary
#7EB127 #2739B1 #9F27B1
monochromatic
#374D11 #5A7F1C #7EB127 #9ED540 #B7E072

Accessibility & contrast

On white

2.56
#7EB127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#7EB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB127
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB127#FFFFFF#000000##000000
##7EB1271.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#82A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb127;
/* rgb */ color: rgb(126, 177, 39);
/* oklch */ color: oklch(69.9% 0.169 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c86d',
    500: '#7eb127',
    950: '#000000',
  },
}
SCSS
$custom: #7eb127;
$custom-light: #a8c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb127",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 82.174,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69915,
    "c": 0.16944,
    "h": 128.5
  },
  "luminance": 0.36026
}

Semantic roles & 50–950 ramp

primary
#7EB127
secondary
#8E6DC7
accent
#41E77E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB127

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

Preview Lab → · Contrast checker → · Palette generator →

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