#4E8020#4E8020

#4E8020 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.136 H 133.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E8020
RGBrgb(78, 128, 32)
HSLhsl(91, 60%, 31%)
HSVhsv(91, 75%, 50%)
CMYKcmyk(39.1%, 0%, 75%, 49.8%)
CIE-LABlab(48.46, -33.30, 44.15)
CIE-LCHlch(48.46, 55.30, 127.03°)
OKLaboklab(54.45% -0.0936 0.0992)
OKLCHoklch(54.45% 0.136 133.3)
XYZxyz(11.1216, 17.1618, 4.0928)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8020 #522080
analogous
#7E8020 #4E8020 #208022
triadic
#4E8020 #204E80 #80204E
tetradic
#4E8020 #207E80 #522080 #802220
square
#4E8020 #207E80 #522080 #802220
split-complementary
#4E8020 #222080 #80207E
monochromatic
#121E08 #304F14 #4E8020 #6CB12C #8AD149

Accessibility & contrast

On white

4.74
#4E8020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4E8020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8020
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8020#FFFFFF#000000##FFFFFF
##4E80201.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85760E
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#4E7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8020;
/* rgb */ color: rgb(78, 128, 32);
/* oklch */ color: oklch(54.5% 0.136 133.3);
Tailwind
colors: {
  custom: {
    50: '#84a562',
    500: '#4e8020',
    950: '#000000',
  },
}
SCSS
$custom: #4e8020;
$custom-light: #84a562;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8020",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 91.25,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.13637,
    "h": 133.3
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#4E8020
secondary
#8049B3
accent
#45E397
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E8020

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

Preview Lab → · Contrast checker → · Palette generator →

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