#4E8720#4E8720

#4E8720 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.146 H 134.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E8720
RGBrgb(78, 135, 32)
HSLhsl(93, 62%, 33%)
HSVhsv(93, 76%, 53%)
CMYKcmyk(42.2%, 0%, 76.3%, 47.1%)
CIE-LABlab(50.75, -36.41, 46.41)
CIE-LCHlch(50.75, 58.99, 128.12°)
OKLaboklab(56.32% -0.102 0.104)
OKLCHoklch(56.32% 0.146 134.4)
XYZxyz(12.0663, 19.0513, 4.4077)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8720 #592087
analogous
#818720 #4E8720 #208725
triadic
#4E8720 #204E87 #87204E
tetradic
#4E8720 #208187 #592087 #872520
square
#4E8720 #208187 #592087 #872520
split-complementary
#4E8720 #252087 #872081
monochromatic
#152409 #315614 #4E8720 #6BB82C #89D54D

Accessibility & contrast

On white

4.37
#4E8720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E8720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8720
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8720#FFFFFF#000000##000000
##4E87201.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#4D8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e8720;
/* rgb */ color: rgb(78, 135, 32);
/* oklch */ color: oklch(56.3% 0.146 134.4);
Tailwind
colors: {
  custom: {
    50: '#85aa63',
    500: '#4e8720',
    950: '#000000',
  },
}
SCSS
$custom: #4e8720;
$custom-light: #85aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8720",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 93.204,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.14561,
    "h": 134.4
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

primary
#4E8720
secondary
#874BB8
accent
#43E59D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8720

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

Preview Lab → · Contrast checker → · Palette generator →

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