#7EB12E#7EB12E

#7EB12E is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.166 H 128.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7EB12E
RGBrgb(126, 177, 46)
HSLhsl(83, 59%, 44%)
HSVhsv(83, 74%, 69%)
CMYKcmyk(28.8%, 0%, 74%, 30.6%)
CIE-LABlab(66.58, -36.36, 57.78)
CIE-LCHlch(66.58, 68.27, 122.18°)
OKLaboklab(69.96% -0.1038 0.129)
OKLCHoklch(69.96% 0.166 128.8)
XYZxyz(24.8194, 36.0765, 8.2401)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB12E #612EB1
analogous
#B1A22E #7EB12E #3CB12E
triadic
#7EB12E #2E7EB1 #B12E7E
tetradic
#7EB12E #2EB1A2 #612EB1 #B12E3C
square
#7EB12E #2EB1A2 #612EB1 #B12E3C
split-complementary
#7EB12E #2E3CB1 #A22EB1
monochromatic
#395015 #5B8021 #7EB12E #9DD04C #B7DD7C

Accessibility & contrast

On white

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

On black

8.22
#7EB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB12E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB12E#FFFFFF#000000##000000
##7EB12E1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA414
Deuteranopia (green-blind)
#B3A13A
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb12e;
/* rgb */ color: rgb(126, 177, 46);
/* oklch */ color: oklch(70.0% 0.166 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c870',
    500: '#7eb12e',
    950: '#000000',
  },
}
SCSS
$custom: #7eb12e;
$custom-light: #a7c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb12e",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 83.359,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69959,
    "c": 0.16559,
    "h": 128.8
  },
  "luminance": 0.36077
}

Semantic roles & 50–950 ramp

primary
#7EB12E
secondary
#9575C6
accent
#46E283
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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