#7EBC40#7EBC40

#7EBC40 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 72.8% C 0.168 H 132.1°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7EBC40
RGBrgb(126, 188, 64)
HSLhsl(90, 49%, 49%)
HSVhsv(90, 66%, 74%)
CMYKcmyk(33%, 0%, 66%, 26.3%)
CIE-LABlab(70.02, -40.01, 54.40)
CIE-LCHlch(70.02, 67.53, 126.33°)
OKLaboklab(72.8% -0.1123 0.1245)
OKLCHoklch(72.8% 0.168 132.1)
XYZxyz(27.5125, 40.7712, 11.2695)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBC40 #7E40BC
analogous
#BCBC40 #7EBC40 #40BC40
triadic
#7EBC40 #407EBC #BC407E
tetradic
#7EBC40 #40BCBC #7E40BC #BC4040
square
#7EBC40 #40BCBC #7E40BC #BC4040
split-complementary
#7EBC40 #4040BC #BC40BC
monochromatic
#416121 #5F8E30 #7EBC40 #9DCD6C #BBDD9A

Accessibility & contrast

On white

2.29
#7EBC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#7EBC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBC40
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBC40#FFFFFF#000000##000000
##7EBC401.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2F
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#80B5A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7ebc40;
/* rgb */ color: rgb(126, 188, 64);
/* oklch */ color: oklch(72.8% 0.168 132.1);
Tailwind
colors: {
  custom: {
    50: '#a7d07b',
    500: '#7ebc40',
    950: '#000000',
  },
}
SCSS
$custom: #7ebc40;
$custom-light: #a7d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebc40",
  "rgb": {
    "r": 126,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 90,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.16766,
    "h": 132.1
  },
  "luminance": 0.40772
}

Semantic roles & 50–950 ramp

primary
#7EBC40
secondary
#AC8FC9
accent
#4FD994
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7EBC40

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

Preview Lab → · Contrast checker → · Palette generator →

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