#7EB41C#7EB41C

#7EB41C is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.6% C 0.178 H 128.6°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7EB41C
RGBrgb(126, 180, 28)
HSLhsl(81, 73%, 41%)
HSVhsv(81, 84%, 71%)
CMYKcmyk(30%, 0%, 84.4%, 29.4%)
CIE-LABlab(67.40, -38.54, 63.87)
CIE-LCHlch(67.40, 74.60, 121.11°)
OKLaboklab(70.6% -0.111 0.139)
OKLCHoklch(70.6% 0.178 128.6)
XYZxyz(25.1351, 37.1613, 6.9469)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB41C #521CB4
analogous
#B49E1C #7EB41C #32B41C
triadic
#7EB41C #1C7EB4 #B41C7E
tetradic
#7EB41C #1CB49E #521CB4 #B41C32
square
#7EB41C #1CB49E #521CB4 #B41C32
split-complementary
#7EB41C #1C32B4 #9E1CB4
monochromatic
#344A0C #597F14 #7EB41C #A0DF2F #B8E764

Accessibility & contrast

On white

2.49
#7EB41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#7EB41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB41C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB41C#FFFFFF#000000##000000
##7EB41C1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#82AC99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb41c;
/* rgb */ color: rgb(126, 180, 28);
/* oklch */ color: oklch(70.6% 0.178 128.6);
Tailwind
colors: {
  custom: {
    50: '#a8ca69',
    500: '#7eb41c',
    950: '#000000',
  },
}
SCSS
$custom: #7eb41c;
$custom-light: #a8ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb41c",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 81.316,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70599,
    "c": 0.17787,
    "h": 128.6
  },
  "luminance": 0.37162
}

Semantic roles & 50–950 ramp

primary
#7EB41C
secondary
#8660CC
accent
#38F079
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EB41C

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

Preview Lab → · Contrast checker → · Palette generator →

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