#4EA71C#4EA71C

#4EA71C is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.8% C 0.187 H 137.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4EA71C
RGBrgb(78, 167, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 65%)
CMYKcmyk(53.3%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.08, -49.60, 57.40)
CIE-LCHlch(61.08, 75.86, 130.83°)
OKLaboklab(64.81% -0.1376 0.1264)
OKLCHoklch(64.81% 0.187 137.4)
XYZxyz(17.1696, 29.3397, 5.8567)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA71C #751CA7
analogous
#93A71C #4EA71C #1CA72F
triadic
#4EA71C #1C4EA7 #A71C4E
tetradic
#4EA71C #1C93A7 #751CA7 #A72F1C
square
#4EA71C #1C93A7 #751CA7 #A72F1C
split-complementary
#4EA71C #2F1CA7 #A71C93
monochromatic
#1D3E0A #367313 #4EA71C #67DB26 #8BE35A

Accessibility & contrast

On white

3.06
#4EA71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#4EA71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA71C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA71C#FFFFFF#000000##000000
##4EA71C1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#48A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4ea71c;
/* rgb */ color: rgb(78, 167, 28);
/* oklch */ color: oklch(64.8% 0.187 137.4);
Tailwind
colors: {
  custom: {
    50: '#89c266',
    500: '#4ea71c',
    950: '#000000',
  },
}
SCSS
$custom: #4ea71c;
$custom-light: #89c266;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea71c",
  "rgb": {
    "r": 78,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 98.417,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64809,
    "c": 0.18687,
    "h": 137.4
  },
  "luminance": 0.29341
}

Semantic roles & 50–950 ramp

primary
#4EA71C
secondary
#9F58C7
accent
#3AEEAD
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4EA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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