#4EA71F#4EA71F

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

Color values

HEX#4EA71F
RGBrgb(78, 167, 31)
HSLhsl(99, 69%, 39%)
HSVhsv(99, 81%, 65%)
CMYKcmyk(53.3%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.09, -49.45, 56.58)
CIE-LCHlch(61.09, 75.14, 131.15°)
OKLaboklab(64.82% -0.1371 0.1251)
OKLCHoklch(64.82% 0.186 137.6)
XYZxyz(17.2073, 29.3547, 6.0553)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA71F #781FA7
analogous
#92A71F #4EA71F #1FA734
triadic
#4EA71F #1F4EA7 #A71F4E
tetradic
#4EA71F #1F92A7 #781FA7 #A7341F
square
#4EA71F #1F92A7 #781FA7 #A7341F
split-complementary
#4EA71F #341FA7 #A71F92
monochromatic
#1E400C #367315 #4EA71F #67D82B #8CE15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4EA71F#FFFFFF#000000##000000
##4EA71F1.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)
#A1912F
Tritanopia (blue-blind)
#47A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4ea71f;
/* rgb */ color: rgb(78, 167, 31);
/* oklch */ color: oklch(64.8% 0.186 137.6);
Tailwind
colors: {
  custom: {
    50: '#89c267',
    500: '#4ea71f',
    950: '#000000',
  },
}
SCSS
$custom: #4ea71f;
$custom-light: #89c267;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea71f",
  "rgb": {
    "r": 78,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 99.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64824,
    "c": 0.18558,
    "h": 137.6
  },
  "luminance": 0.29356
}

Semantic roles & 50–950 ramp

primary
#4EA71F
secondary
#A15CC6
accent
#3CECAF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #4EA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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