#4E8F20#4E8F20

#4E8F20 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.156 H 135.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F20
RGBrgb(78, 143, 32)
HSLhsl(95, 63%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.5%, 0%, 77.6%, 43.9%)
CIE-LABlab(53.35, -39.83, 48.95)
CIE-LCHlch(53.35, 63.11, 129.14°)
OKLaboklab(58.46% -0.1112 0.1093)
OKLCHoklch(58.46% 0.156 135.5)
XYZxyz(13.2247, 21.3681, 4.7938)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F20 #61208F
analogous
#868F20 #4E8F20 #208F29
triadic
#4E8F20 #204E8F #8F204E
tetradic
#4E8F20 #20868F #61208F #8F2920
square
#4E8F20 #20868F #61208F #8F2920
split-complementary
#4E8F20 #29208F #8F2086
monochromatic
#172B0A #335D15 #4E8F20 #69C12B #89D851

Accessibility & contrast

On white

3.98
#4E8F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8F20#FFFFFF#000000##000000
##4E8F201.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f20;
/* rgb */ color: rgb(78, 143, 32);
/* oklch */ color: oklch(58.5% 0.156 135.5);
Tailwind
colors: {
  custom: {
    50: '#86b064',
    500: '#4e8f20',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f20;
$custom-light: #86b064;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f20",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 95.135,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.15589,
    "h": 135.5
  },
  "luminance": 0.21369
}

Semantic roles & 50–950 ramp

primary
#4E8F20
secondary
#8F4FBB
accent
#41E6A2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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