#4E8D17#4E8D17

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

Color values

HEX#4E8D17
RGBrgb(78, 141, 23)
HSLhsl(92, 72%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(44.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.65, -39.49, 51.14)
CIE-LCHlch(52.65, 64.61, 127.68°)
OKLaboklab(57.87% -0.1108 0.1125)
OKLCHoklch(57.87% 0.158 134.6)
XYZxyz(12.8212, 20.7306, 4.1363)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D17 #56178D
analogous
#898D17 #4E8D17 #178D1B
triadic
#4E8D17 #174E8D #8D174E
tetradic
#4E8D17 #17898D #56178D #8D1B17
square
#4E8D17 #17898D #56178D #8D1B17
split-complementary
#4E8D17 #1B178D #8D1789
monochromatic
#142406 #31580E #4E8D17 #6BC220 #8AE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8D17#FFFFFF#000000##000000
##4E8D171.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: #4e8d17;
/* rgb */ color: rgb(78, 141, 23);
/* oklch */ color: oklch(57.9% 0.158 134.6);
Tailwind
colors: {
  custom: {
    50: '#86af60',
    500: '#4e8d17',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d17;
$custom-light: #86af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d17",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 92.034,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.1579,
    "h": 134.6
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#4E8D17
secondary
#8440C0
accent
#39EF9A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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