#4E9717#4E9717

#4E9717 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.5% C 0.170 H 135.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4E9717
RGBrgb(78, 151, 23)
HSLhsl(94, 74%, 34%)
HSVhsv(94, 85%, 59%)
CMYKcmyk(48.3%, 0%, 84.8%, 40.8%)
CIE-LABlab(55.90, -43.60, 54.06)
CIE-LCHlch(55.90, 69.45, 128.89°)
OKLaboklab(60.54% -0.1218 0.1186)
OKLCHoklch(60.54% 0.17 135.8)
XYZxyz(14.3628, 23.8138, 4.6502)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9717 #601797
analogous
#8E9717 #4E9717 #179720
triadic
#4E9717 #174E97 #97174E
tetradic
#4E9717 #178E97 #601797 #972017
square
#4E9717 #178E97 #601797 #972017
split-complementary
#4E9717 #201797 #97178E
monochromatic
#172D07 #33620F #4E9717 #69CC1F #89E346

Accessibility & contrast

On white

3.64
#4E9717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4E9717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9717
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9717#FFFFFF#000000##000000
##4E97171.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#4B9180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4e9717;
/* rgb */ color: rgb(78, 151, 23);
/* oklch */ color: oklch(60.5% 0.170 135.8);
Tailwind
colors: {
  custom: {
    50: '#87b662',
    500: '#4e9717',
    950: '#000000',
  },
}
SCSS
$custom: #4e9717;
$custom-light: #87b662;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9717",
  "rgb": {
    "r": 78,
    "g": 151,
    "b": 23
  },
  "hsl": {
    "h": 94.219,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.17005,
    "h": 135.8
  },
  "luminance": 0.23815
}

Semantic roles & 50–950 ramp

primary
#4E9717
secondary
#8E46C4
accent
#38F0A1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9717

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

Preview Lab → · Contrast checker → · Palette generator →

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