#4E8728#4E8728

#4E8728 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.140 H 135.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E8728
RGBrgb(78, 135, 40)
HSLhsl(96, 54%, 34%)
HSVhsv(96, 70%, 53%)
CMYKcmyk(42.2%, 0%, 70.4%, 47.1%)
CIE-LABlab(50.80, -35.81, 43.31)
CIE-LCHlch(50.80, 56.20, 129.58°)
OKLaboklab(56.39% -0.0997 0.0987)
OKLCHoklch(56.39% 0.14 135.3)
XYZxyz(12.1886, 19.1002, 5.0515)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8728 #612887
analogous
#7E8728 #4E8728 #288732
triadic
#4E8728 #284E87 #87284E
tetradic
#4E8728 #287E87 #612887 #873228
square
#4E8728 #287E87 #612887 #873228
split-complementary
#4E8728 #322887 #87287E
monochromatic
#17290C #33581A #4E8728 #69B636 #89CE5B

Accessibility & contrast

On white

4.36
#4E8728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8728
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8728#FFFFFF#000000##000000
##4E87281.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#4D8274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8728;
/* rgb */ color: rgb(78, 135, 40);
/* oklch */ color: oklch(56.4% 0.140 135.3);
Tailwind
colors: {
  custom: {
    50: '#84aa67',
    500: '#4e8728',
    950: '#000000',
  },
}
SCSS
$custom: #4e8728;
$custom-light: #84aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8728",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 96,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.14028,
    "h": 135.3
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#4E8728
secondary
#8F57B4
accent
#4ADEA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8728

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

Preview Lab → · Contrast checker → · Palette generator →

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