#4E8C17#4E8C17

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

Color values

HEX#4E8C17
RGBrgb(78, 140, 23)
HSLhsl(92, 72%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(44.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.33, -39.07, 50.84)
CIE-LCHlch(52.33, 64.12, 127.54°)
OKLaboklab(57.6% -0.1097 0.1118)
OKLCHoklch(57.6% 0.157 134.5)
XYZxyz(12.6744, 20.4370, 4.0873)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C17 #55178C
analogous
#898C17 #4E8C17 #178C1B
triadic
#4E8C17 #174E8C #8C174E
tetradic
#4E8C17 #17898C #55178C #8C1B17
square
#4E8C17 #17898C #55178C #8C1B17
split-complementary
#4E8C17 #1B178C #8C1789
monochromatic
#132306 #31570E #4E8C17 #6BC120 #8ADF3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8C17#FFFFFF#000000##000000
##4E8C171.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)
#897B25
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c17;
/* rgb */ color: rgb(78, 140, 23);
/* oklch */ color: oklch(57.6% 0.157 134.5);
Tailwind
colors: {
  custom: {
    50: '#86ae60',
    500: '#4e8c17',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c17;
$custom-light: #86ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c17",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 91.795,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.15667,
    "h": 134.5
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

primary
#4E8C17
secondary
#833FBF
accent
#39EF99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8C17

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

Preview Lab → · Contrast checker → · Palette generator →

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