#4EA61C#4EA61C

#4EA61C is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.5% C 0.186 H 137.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4EA61C
RGBrgb(78, 166, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 65%)
CMYKcmyk(53%, 0%, 83.1%, 34.9%)
CIE-LABlab(60.76, -49.22, 57.11)
CIE-LCHlch(60.76, 75.39, 130.75°)
OKLaboklab(64.54% -0.1366 0.1258)
OKLCHoklch(64.54% 0.186 137.4)
XYZxyz(16.9872, 28.9747, 5.7959)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA61C #741CA6
analogous
#93A61C #4EA61C #1CA62F
triadic
#4EA61C #1C4EA6 #A61C4E
tetradic
#4EA61C #1C93A6 #741CA6 #A62F1C
square
#4EA61C #1C93A6 #741CA6 #A62F1C
split-complementary
#4EA61C #2F1CA6 #A61C93
monochromatic
#1D3D0A #357213 #4EA61C #67DA25 #8BE359

Accessibility & contrast

On white

3.09
#4EA61C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#4EA61C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA61C
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA61C#FFFFFF#000000##000000
##4EA61C1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#48A08D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4ea61c;
/* rgb */ color: rgb(78, 166, 28);
/* oklch */ color: oklch(64.5% 0.186 137.4);
Tailwind
colors: {
  custom: {
    50: '#89c166',
    500: '#4ea61c',
    950: '#000000',
  },
}
SCSS
$custom: #4ea61c;
$custom-light: #89c166;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea61c",
  "rgb": {
    "r": 78,
    "g": 166,
    "b": 28
  },
  "hsl": {
    "h": 98.261,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64544,
    "c": 0.1857,
    "h": 137.4
  },
  "luminance": 0.28976
}

Semantic roles & 50–950 ramp

primary
#4EA61C
secondary
#9E57C7
accent
#3AEEAD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4EA61C

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

Preview Lab → · Contrast checker → · Palette generator →

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