#7EB12A#7EB12A

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

Color values

HEX#7EB12A
RGBrgb(126, 177, 42)
HSLhsl(83, 62%, 43%)
HSVhsv(83, 76%, 69%)
CMYKcmyk(28.8%, 0%, 76.3%, 30.6%)
CIE-LABlab(66.56, -36.58, 59.12)
CIE-LCHlch(66.56, 69.52, 121.75°)
OKLaboklab(69.93% -0.1047 0.1312)
OKLCHoklch(69.93% 0.168 128.6)
XYZxyz(24.7442, 36.0464, 7.8440)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB12A #5D2AB1
analogous
#B1A12A #7EB12A #3AB12A
triadic
#7EB12A #2A7EB1 #B12A7E
tetradic
#7EB12A #2AB1A1 #5D2AB1 #B12A3A
square
#7EB12A #2AB1A1 #5D2AB1 #B12A3A
split-complementary
#7EB12A #2A3AB1 #A12AB1
monochromatic
#384E13 #5B801E #7EB12A #9DD345 #B7DF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB12A#FFFFFF#000000##000000
##7EB12A1.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)
#BAA408
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb12a;
/* rgb */ color: rgb(126, 177, 42);
/* oklch */ color: oklch(69.9% 0.168 128.6);
Tailwind
colors: {
  custom: {
    50: '#a8c86e',
    500: '#7eb12a',
    950: '#000000',
  },
}
SCSS
$custom: #7eb12a;
$custom-light: #a8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb12a",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 82.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.16786,
    "h": 128.6
  },
  "luminance": 0.36047
}

Semantic roles & 50–950 ramp

primary
#7EB12A
secondary
#9170C6
accent
#43E580
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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