#4EB228#4EB228

#4EB228 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.8% C 0.194 H 138.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4EB228
RGBrgb(78, 178, 40)
HSLhsl(103, 63%, 43%)
HSVhsv(103, 78%, 70%)
CMYKcmyk(56.2%, 0%, 77.5%, 30.2%)
CIE-LABlab(64.65, -53.03, 57.18)
CIE-LCHlch(64.65, 77.99, 132.84°)
OKLaboklab(67.77% -0.1462 0.1277)
OKLCHoklch(67.77% 0.194 138.9)
XYZxyz(19.4445, 33.6121, 7.4702)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB228 #8C28B2
analogous
#93B228 #4EB228 #28B247
triadic
#4EB228 #284EB2 #B2284E
tetradic
#4EB228 #2893B2 #8C28B2 #B24728
square
#4EB228 #2893B2 #8C28B2 #B24728
split-complementary
#4EB228 #4728B2 #B22893
monochromatic
#224E12 #38801D #4EB228 #6BD543 #92E075

Accessibility & contrast

On white

2.72
#4EB228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#4EB228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB228
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB228#FFFFFF#000000##000000
##4EB2281.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A202
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#44AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4eb228;
/* rgb */ color: rgb(78, 178, 40);
/* oklch */ color: oklch(67.8% 0.194 138.9);
Tailwind
colors: {
  custom: {
    50: '#8aca6d',
    500: '#4eb228',
    950: '#000000',
  },
}
SCSS
$custom: #4eb228;
$custom-light: #8aca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb228",
  "rgb": {
    "r": 78,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 103.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.1941,
    "h": 138.9
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

primary
#4EB228
secondary
#AF6FC7
accent
#41E6B9
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4EB228

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

Preview Lab → · Contrast checker → · Palette generator →

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