#4E8C15#4E8C15

#4E8C15 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.158 H 134.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E8C15
RGBrgb(78, 140, 21)
HSLhsl(91, 74%, 32%)
HSVhsv(91, 85%, 55%)
CMYKcmyk(44.3%, 0%, 85%, 45.1%)
CIE-LABlab(52.32, -39.16, 51.38)
CIE-LCHlch(52.32, 64.61, 127.31°)
OKLaboklab(57.59% -0.1101 0.1127)
OKLCHoklch(57.59% 0.158 134.3)
XYZxyz(12.6551, 20.4293, 3.9858)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C15 #53158C
analogous
#8A8C15 #4E8C15 #158C18
triadic
#4E8C15 #154E8C #8C154E
tetradic
#4E8C15 #158A8C #53158C #8C1815
square
#4E8C15 #158A8C #53158C #8C1815
split-complementary
#4E8C15 #18158C #8C158A
monochromatic
#132205 #30570D #4E8C15 #6CC11D #8AE13A

Accessibility & contrast

On white

4.13
#4E8C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E8C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C15
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C15#FFFFFF#000000##000000
##4E8C151.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c15;
/* rgb */ color: rgb(78, 140, 21);
/* oklch */ color: oklch(57.6% 0.158 134.3);
Tailwind
colors: {
  custom: {
    50: '#86ae5f',
    500: '#4e8c15',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c15;
$custom-light: #86ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c15",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 91.261,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.15752,
    "h": 134.3
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#4E8C15
secondary
#813DC0
accent
#37F198
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8C15

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

Preview Lab → · Contrast checker → · Palette generator →

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