#4EA61B#4EA61B

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

Color values

HEX#4EA61B
RGBrgb(78, 166, 27)
HSLhsl(98, 72%, 38%)
HSVhsv(98, 84%, 65%)
CMYKcmyk(53%, 0%, 83.7%, 34.9%)
CIE-LABlab(60.76, -49.26, 57.37)
CIE-LCHlch(60.76, 75.62, 130.65°)
OKLaboklab(64.54% -0.1368 0.1262)
OKLCHoklch(64.54% 0.186 137.3)
XYZxyz(16.9754, 28.9700, 5.7339)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA61B #731BA6
analogous
#93A61B #4EA61B #1BA62E
triadic
#4EA61B #1B4EA6 #A61B4E
tetradic
#4EA61B #1B93A6 #731BA6 #A62E1B
square
#4EA61B #1B93A6 #731BA6 #A62E1B
split-complementary
#4EA61B #2E1BA6 #A61B93
monochromatic
#1D3D0A #357112 #4EA61B #67DB24 #8BE458

Accessibility & contrast

On white

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

On black

6.79
#4EA61B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA61B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA61B#FFFFFF#000000##000000
##4EA61B1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.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: #4ea61b;
/* rgb */ color: rgb(78, 166, 27);
/* oklch */ color: oklch(64.5% 0.186 137.3);
Tailwind
colors: {
  custom: {
    50: '#89c166',
    500: '#4ea61b',
    950: '#000000',
  },
}
SCSS
$custom: #4ea61b;
$custom-light: #89c166;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea61b",
  "rgb": {
    "r": 78,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 97.986,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.18611,
    "h": 137.3
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#4EA61B
secondary
#9E56C7
accent
#39EFAC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4EA61B

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

Preview Lab → · Contrast checker → · Palette generator →

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