#4EA41C#4EA41C

#4EA41C is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.0% C 0.183 H 137.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4EA41C
RGBrgb(78, 164, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 64%)
CMYKcmyk(52.4%, 0%, 82.9%, 35.7%)
CIE-LABlab(60.12, -48.46, 56.53)
CIE-LCHlch(60.12, 74.45, 130.60°)
OKLaboklab(64.02% -0.1346 0.1245)
OKLCHoklch(64.02% 0.183 137.2)
XYZxyz(16.6264, 28.2532, 5.6757)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA41C #721CA4
analogous
#92A41C #4EA41C #1CA42E
triadic
#4EA41C #1C4EA4 #A41C4E
tetradic
#4EA41C #1C92A4 #721CA4 #A42E1C
square
#4EA41C #1C92A4 #721CA4 #A42E1C
split-complementary
#4EA41C #2E1CA4 #A41C92
monochromatic
#1C3B0A #357013 #4EA41C #67D825 #8BE258

Accessibility & contrast

On white

3.16
#4EA41C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#4EA41C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA41C
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA41C#FFFFFF#000000##000000
##4EA41C1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#489E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4ea41c;
/* rgb */ color: rgb(78, 164, 28);
/* oklch */ color: oklch(64.0% 0.183 137.2);
Tailwind
colors: {
  custom: {
    50: '#89c066',
    500: '#4ea41c',
    950: '#000000',
  },
}
SCSS
$custom: #4ea41c;
$custom-light: #89c066;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea41c",
  "rgb": {
    "r": 78,
    "g": 164,
    "b": 28
  },
  "hsl": {
    "h": 97.941,
    "s": 70.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.18338,
    "h": 137.2
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#4EA41C
secondary
#9D56C6
accent
#3AEEAC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4EA41C

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

Preview Lab → · Contrast checker → · Palette generator →

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