#4E8917#4E8917

#4E8917 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.8% C 0.153 H 134.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E8917
RGBrgb(78, 137, 23)
HSLhsl(91, 71%, 31%)
HSVhsv(91, 83%, 54%)
CMYKcmyk(43.1%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.35, -37.79, 49.95)
CIE-LCHlch(51.35, 62.64, 127.11°)
OKLaboklab(56.8% -0.1063 0.11)
OKLCHoklch(56.8% 0.153 134)
XYZxyz(12.2420, 19.5722, 3.9432)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8917 #521789
analogous
#878917 #4E8917 #178919
triadic
#4E8917 #174E89 #89174E
tetradic
#4E8917 #178789 #521789 #891917
square
#4E8917 #178789 #521789 #891917
split-complementary
#4E8917 #191789 #891787
monochromatic
#122005 #30550E #4E8917 #6CBD20 #8ADE3C

Accessibility & contrast

On white

4.27
#4E8917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4E8917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8917
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8917#FFFFFF#000000##000000
##4E89171.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#4D8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8917;
/* rgb */ color: rgb(78, 137, 23);
/* oklch */ color: oklch(56.8% 0.153 134.0);
Tailwind
colors: {
  custom: {
    50: '#85ac60',
    500: '#4e8917',
    950: '#000000',
  },
}
SCSS
$custom: #4e8917;
$custom-light: #85ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8917",
  "rgb": {
    "r": 78,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 91.053,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.568,
    "c": 0.15294,
    "h": 134
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#4E8917
secondary
#803FBD
accent
#3AEE97
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8917

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

Preview Lab → · Contrast checker → · Palette generator →

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