#4E8D16#4E8D16

#4E8D16 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.158 H 134.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8D16
RGBrgb(78, 141, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(44.7%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.65, -39.54, 51.41)
CIE-LCHlch(52.65, 64.86, 127.56°)
OKLaboklab(57.86% -0.111 0.1129)
OKLCHoklch(57.86% 0.158 134.5)
XYZxyz(12.8113, 20.7266, 4.0845)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D16 #55168D
analogous
#8A8D16 #4E8D16 #168D1A
triadic
#4E8D16 #164E8D #8D164E
tetradic
#4E8D16 #168A8D #55168D #8D1A16
square
#4E8D16 #168A8D #55168D #8D1A16
split-complementary
#4E8D16 #1A168D #8D168A
monochromatic
#132305 #31580E #4E8D16 #6BC21E #8AE13D

Accessibility & contrast

On white

4.08
#4E8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D16#FFFFFF#000000##000000
##4E8D161.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#4D8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d16;
/* rgb */ color: rgb(78, 141, 22);
/* oklch */ color: oklch(57.9% 0.158 134.5);
Tailwind
colors: {
  custom: {
    50: '#86af60',
    500: '#4e8d16',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d16;
$custom-light: #86af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d16",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 91.765,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57864,
    "c": 0.15833,
    "h": 134.5
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#4E8D16
secondary
#833EC1
accent
#38F099
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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