#4E8F17#4E8F17

#4E8F17 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.160 H 134.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F17
RGBrgb(78, 143, 23)
HSLhsl(93, 72%, 33%)
HSVhsv(93, 84%, 56%)
CMYKcmyk(45.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.30, -40.33, 51.72)
CIE-LCHlch(53.30, 65.59, 127.94°)
OKLaboklab(58.4% -0.1131 0.1137)
OKLCHoklch(58.4% 0.16 134.8)
XYZxyz(13.1187, 21.3257, 4.2355)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F17 #58178F
analogous
#8A8F17 #4E8F17 #178F1C
triadic
#4E8F17 #174E8F #8F174E
tetradic
#4E8F17 #178A8F #58178F #8F1C17
square
#4E8F17 #178A8F #58178F #8F1C17
split-complementary
#4E8F17 #1C178F #8F178A
monochromatic
#142606 #315A0F #4E8F17 #6BC41F #8AE040

Accessibility & contrast

On white

3.99
#4E8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F17#FFFFFF#000000##000000
##4E8F171.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#4C8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f17;
/* rgb */ color: rgb(78, 143, 23);
/* oklch */ color: oklch(58.4% 0.160 134.8);
Tailwind
colors: {
  custom: {
    50: '#86b060',
    500: '#4e8f17',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f17;
$custom-light: #86b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f17",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 92.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.16036,
    "h": 134.8
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#4E8F17
secondary
#8641C1
accent
#39EF9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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