#4E8E17#4E8E17

#4E8E17 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.1% C 0.159 H 134.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8E17
RGBrgb(78, 142, 23)
HSLhsl(92, 72%, 32%)
HSVhsv(92, 84%, 56%)
CMYKcmyk(45.1%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.98, -39.91, 51.43)
CIE-LCHlch(52.98, 65.10, 127.81°)
OKLaboklab(58.14% -0.112 0.1131)
OKLCHoklch(58.14% 0.159 134.7)
XYZxyz(12.9693, 21.0268, 4.1856)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E17 #57178E
analogous
#898E17 #4E8E17 #178E1C
triadic
#4E8E17 #174E8E #8E174E
tetradic
#4E8E17 #17898E #57178E #8E1C17
square
#4E8E17 #17898E #57178E #8E1C17
split-complementary
#4E8E17 #1C178E #8E1789
monochromatic
#142506 #31590E #4E8E17 #6BC320 #8AE03F

Accessibility & contrast

On white

4.03
#4E8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E17#FFFFFF#000000##000000
##4E8E171.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#4D8879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8e17;
/* rgb */ color: rgb(78, 142, 23);
/* oklch */ color: oklch(58.1% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#86af60',
    500: '#4e8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e17;
$custom-light: #86af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e17",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 92.269,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.15913,
    "h": 134.7
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#4E8E17
secondary
#8540C0
accent
#39EF9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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