#7EB126#7EB126

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

Color values

HEX#7EB126
RGBrgb(126, 177, 38)
HSLhsl(82, 65%, 42%)
HSVhsv(82, 79%, 69%)
CMYKcmyk(28.8%, 0%, 78.5%, 30.6%)
CIE-LABlab(66.53, -36.78, 60.37)
CIE-LCHlch(66.53, 70.69, 121.35°)
OKLaboklab(69.91% -0.1056 0.1332)
OKLCHoklch(69.91% 0.17 128.4)
XYZxyz(24.6762, 36.0192, 7.4857)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB126 #5926B1
analogous
#B19E26 #7EB126 #39B126
triadic
#7EB126 #267EB1 #B1267E
tetradic
#7EB126 #26B19E #5926B1 #B12639
square
#7EB126 #26B19E #5926B1 #B12639
split-complementary
#7EB126 #2639B1 #9E26B1
monochromatic
#364C10 #5A7F1B #7EB126 #9ED63F #B8E071

Accessibility & contrast

On white

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

On black

8.20
#7EB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB126
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB126#FFFFFF#000000##000000
##7EB1261.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.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: #7eb126;
/* rgb */ color: rgb(126, 177, 38);
/* oklch */ color: oklch(69.9% 0.170 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8c86c',
    500: '#7eb126',
    950: '#000000',
  },
}
SCSS
$custom: #7eb126;
$custom-light: #a8c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb126",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 82.014,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6991,
    "c": 0.16994,
    "h": 128.4
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

primary
#7EB126
secondary
#8D6BC7
accent
#40E87E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB126

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

Preview Lab → · Contrast checker → · Palette generator →

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