#4E8817#4E8817

#4E8817 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.5% C 0.152 H 133.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E8817
RGBrgb(78, 136, 23)
HSLhsl(91, 71%, 31%)
HSVhsv(91, 83%, 53%)
CMYKcmyk(42.6%, 0%, 83.1%, 46.7%)
CIE-LABlab(51.02, -37.36, 49.65)
CIE-LCHlch(51.02, 62.14, 126.96°)
OKLaboklab(56.53% -0.1051 0.1093)
OKLCHoklch(56.53% 0.152 133.9)
XYZxyz(12.1005, 19.2892, 3.8961)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8817 #511788
analogous
#868817 #4E8817 #178818
triadic
#4E8817 #174E88 #88174E
tetradic
#4E8817 #178688 #511788 #881817
square
#4E8817 #178688 #511788 #881817
split-complementary
#4E8817 #181788 #881786
monochromatic
#121F05 #30540E #4E8817 #6CBC20 #8BDE3B

Accessibility & contrast

On white

4.32
#4E8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8817
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8817#FFFFFF#000000##000000
##4E88171.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#4E8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8817;
/* rgb */ color: rgb(78, 136, 23);
/* oklch */ color: oklch(56.5% 0.152 133.9);
Tailwind
colors: {
  custom: {
    50: '#85ab5f',
    500: '#4e8817',
    950: '#000000',
  },
}
SCSS
$custom: #4e8817;
$custom-light: #85ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8817",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 90.796,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.15168,
    "h": 133.9
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#4E8817
secondary
#7F3FBC
accent
#3AEE96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8817

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

Preview Lab → · Contrast checker → · Palette generator →

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