#7EB12B#7EB12B

#7EB12B 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#7EB12B
RGBrgb(126, 177, 43)
HSLhsl(83, 61%, 43%)
HSVhsv(83, 76%, 69%)
CMYKcmyk(28.8%, 0%, 75.7%, 30.6%)
CIE-LABlab(66.56, -36.53, 58.79)
CIE-LCHlch(66.56, 69.21, 121.85°)
OKLaboklab(69.94% -0.1045 0.1306)
OKLCHoklch(69.94% 0.167 128.7)
XYZxyz(24.7623, 36.0537, 7.9394)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB12B #5E2BB1
analogous
#B1A12B #7EB12B #3BB12B
triadic
#7EB12B #2B7EB1 #B12B7E
tetradic
#7EB12B #2BB1A1 #5E2BB1 #B12B3B
square
#7EB12B #2BB1A1 #5E2BB1 #B12B3B
split-complementary
#7EB12B #2B3BB1 #A12BB1
monochromatic
#384F13 #5B801F #7EB12B #9DD247 #B7DE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB12B#FFFFFF#000000##000000
##7EB12B1.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)
#BAA40B
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb12b;
/* rgb */ color: rgb(126, 177, 43);
/* oklch */ color: oklch(69.9% 0.167 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c86f',
    500: '#7eb12b',
    950: '#000000',
  },
}
SCSS
$custom: #7eb12b;
$custom-light: #a8c86f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb12b",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 82.836,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6994,
    "c": 0.1673,
    "h": 128.7
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#7EB12B
secondary
#9272C6
accent
#44E481
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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