#7EB417#7EB417

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

Color values

HEX#7EB417
RGBrgb(126, 180, 23)
HSLhsl(81, 77%, 40%)
HSVhsv(81, 87%, 71%)
CMYKcmyk(30%, 0%, 87.2%, 29.4%)
CIE-LABlab(67.38, -38.70, 64.97)
CIE-LCHlch(67.38, 75.62, 120.78°)
OKLaboklab(70.58% -0.1116 0.1407)
OKLCHoklch(70.58% 0.18 128.4)
XYZxyz(25.0801, 37.1393, 6.6577)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB417 #4D17B4
analogous
#B49C17 #7EB417 #2FB417
triadic
#7EB417 #177EB4 #B4177E
tetradic
#7EB417 #17B49C #4D17B4 #B4172F
square
#7EB417 #17B49C #4D17B4 #B4172F
split-complementary
#7EB417 #172FB4 #9C17B4
monochromatic
#324709 #587E10 #7EB417 #A2E325 #B9EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB417#FFFFFF#000000##000000
##7EB4171.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)
#BDA600
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#83AB99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb417;
/* rgb */ color: rgb(126, 180, 23);
/* oklch */ color: oklch(70.6% 0.180 128.4);
Tailwind
colors: {
  custom: {
    50: '#a8ca67',
    500: '#7eb417',
    950: '#000000',
  },
}
SCSS
$custom: #7eb417;
$custom-light: #a8ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb417",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 80.637,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.17958,
    "h": 128.4
  },
  "luminance": 0.3714
}

Semantic roles & 50–950 ramp

primary
#7EB417
secondary
#8159CE
accent
#34F476
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EB417

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

Preview Lab → · Contrast checker → · Palette generator →

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