#4E8E20#4E8E20

#4E8E20 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.155 H 135.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8E20
RGBrgb(78, 142, 32)
HSLhsl(95, 63%, 34%)
HSVhsv(95, 77%, 56%)
CMYKcmyk(45.1%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.03, -39.41, 48.63)
CIE-LCHlch(53.03, 62.60, 129.02°)
OKLaboklab(58.19% -0.1101 0.1086)
OKLCHoklch(58.19% 0.155 135.4)
XYZxyz(13.0753, 21.0692, 4.7440)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E20 #60208E
analogous
#858E20 #4E8E20 #208E29
triadic
#4E8E20 #204E8E #8E204E
tetradic
#4E8E20 #20858E #60208E #8E2920
square
#4E8E20 #20858E #60208E #8E2920
split-complementary
#4E8E20 #29208E #8E2085
monochromatic
#172A09 #335C15 #4E8E20 #69C02B #89D851

Accessibility & contrast

On white

4.03
#4E8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E20
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E20#FFFFFF#000000##000000
##4E8E201.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938206
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e20;
/* rgb */ color: rgb(78, 142, 32);
/* oklch */ color: oklch(58.2% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#86af64',
    500: '#4e8e20',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e20;
$custom-light: #86af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e20",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 94.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.15462,
    "h": 135.4
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#4E8E20
secondary
#8E4FBB
accent
#42E6A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E20

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

Preview Lab → · Contrast checker → · Palette generator →

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