#4EB126#4EB126

#4EB126 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.5% C 0.194 H 138.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4EB126
RGBrgb(78, 177, 38)
HSLhsl(103, 65%, 42%)
HSVhsv(103, 79%, 69%)
CMYKcmyk(55.9%, 0%, 78.5%, 30.6%)
CIE-LABlab(64.32, -52.78, 57.50)
CIE-LCHlch(64.32, 78.06, 132.55°)
OKLaboklab(67.5% -0.1457 0.128)
OKLCHoklch(67.5% 0.194 138.7)
XYZxyz(19.2131, 33.2023, 7.2296)
Luminance0.3320 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB126 #8926B1
analogous
#93B126 #4EB126 #26B144
triadic
#4EB126 #264EB1 #B1264E
tetradic
#4EB126 #2693B1 #8926B1 #B14426
square
#4EB126 #2693B1 #8926B1 #B14426
split-complementary
#4EB126 #4426B1 #B12693
monochromatic
#224C10 #387F1B #4EB126 #6AD63F #91E071

Accessibility & contrast

On white

2.75
#4EB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#4EB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB126
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB126#FFFFFF#000000##000000
##4EB1261.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#44AB97
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #4eb126;
/* rgb */ color: rgb(78, 177, 38);
/* oklch */ color: oklch(67.5% 0.194 138.7);
Tailwind
colors: {
  custom: {
    50: '#8ac96c',
    500: '#4eb126',
    950: '#000000',
  },
}
SCSS
$custom: #4eb126;
$custom-light: #8ac96c;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb126",
  "rgb": {
    "r": 78,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 102.734,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.675,
    "c": 0.19394,
    "h": 138.7
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#4EB126
secondary
#AD6BC7
accent
#40E8B7
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4EB126

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

Preview Lab → · Contrast checker → · Palette generator →

#4EB126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva