#7EB12C#7EB12C

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

Color values

HEX#7EB12C
RGBrgb(126, 177, 44)
HSLhsl(83, 60%, 43%)
HSVhsv(83, 75%, 69%)
CMYKcmyk(28.8%, 0%, 75.1%, 30.6%)
CIE-LABlab(66.57, -36.47, 58.46)
CIE-LCHlch(66.57, 68.90, 121.96°)
OKLaboklab(69.95% -0.1043 0.1301)
OKLCHoklch(69.95% 0.167 128.7)
XYZxyz(24.7809, 36.0611, 8.0373)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB12C #5F2CB1
analogous
#B1A12C #7EB12C #3BB12C
triadic
#7EB12C #2C7EB1 #B12C7E
tetradic
#7EB12C #2CB1A1 #5F2CB1 #B12C3B
square
#7EB12C #2CB1A1 #5F2CB1 #B12C3B
split-complementary
#7EB12C #2C3BB1 #A12CB1
monochromatic
#384F14 #5B8020 #7EB12C #9DD249 #B7DE7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB12C#FFFFFF#000000##000000
##7EB12C1.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)
#BAA40E
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb12c;
/* rgb */ color: rgb(126, 177, 44);
/* oklch */ color: oklch(69.9% 0.167 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c86f',
    500: '#7eb12c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb12c;
$custom-light: #a8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb12c",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 83.008,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69946,
    "c": 0.16674,
    "h": 128.7
  },
  "luminance": 0.36062
}

Semantic roles & 50–950 ramp

primary
#7EB12C
secondary
#9373C6
accent
#44E381
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB12C

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

Preview Lab → · Contrast checker → · Palette generator →

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