#7EB128#7EB128

#7EB128 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#7EB128
RGBrgb(126, 177, 40)
HSLhsl(82, 63%, 43%)
HSVhsv(82, 77%, 69%)
CMYKcmyk(28.8%, 0%, 77.4%, 30.6%)
CIE-LABlab(66.54, -36.68, 59.75)
CIE-LCHlch(66.54, 70.12, 121.55°)
OKLaboklab(69.92% -0.1052 0.1322)
OKLCHoklch(69.92% 0.169 128.5)
XYZxyz(24.7093, 36.0325, 7.6602)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB128 #5B28B1
analogous
#B1A028 #7EB128 #39B128
triadic
#7EB128 #287EB1 #B1287E
tetradic
#7EB128 #28B1A0 #5B28B1 #B12839
square
#7EB128 #28B1A0 #5B28B1 #B12839
split-complementary
#7EB128 #2839B1 #A028B1
monochromatic
#374D11 #5A7F1D #7EB128 #9ED442 #B7E074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB128#FFFFFF#000000##000000
##7EB1281.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)
#BAA401
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#82A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb128;
/* rgb */ color: rgb(126, 177, 40);
/* oklch */ color: oklch(69.9% 0.169 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c86d',
    500: '#7eb128',
    950: '#000000',
  },
}
SCSS
$custom: #7eb128;
$custom-light: #a8c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb128",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 82.336,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.16892,
    "h": 128.5
  },
  "luminance": 0.36033
}

Semantic roles & 50–950 ramp

primary
#7EB128
secondary
#8F6EC7
accent
#42E67F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB128

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

Preview Lab → · Contrast checker → · Palette generator →

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