#4E8B20#4E8B20

#4E8B20 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.151 H 135.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E8B20
RGBrgb(78, 139, 32)
HSLhsl(94, 63%, 34%)
HSVhsv(94, 77%, 55%)
CMYKcmyk(43.9%, 0%, 77%, 45.5%)
CIE-LABlab(52.05, -38.14, 47.68)
CIE-LCHlch(52.05, 61.06, 128.65°)
OKLaboklab(57.39% -0.1066 0.1066)
OKLCHoklch(57.39% 0.151 135)
XYZxyz(12.6349, 20.1885, 4.5972)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B20 #5D208B
analogous
#838B20 #4E8B20 #208B28
triadic
#4E8B20 #204E8B #8B204E
tetradic
#4E8B20 #20838B #5D208B #8B2820
square
#4E8B20 #20838B #5D208B #8B2820
split-complementary
#4E8B20 #28208B #8B2083
monochromatic
#162809 #325915 #4E8B20 #6ABD2B #89D64F

Accessibility & contrast

On white

4.17
#4E8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4E8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B20#FFFFFF#000000##000000
##4E8B201.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b20;
/* rgb */ color: rgb(78, 139, 32);
/* oklch */ color: oklch(57.4% 0.151 135.0);
Tailwind
colors: {
  custom: {
    50: '#85ad64',
    500: '#4e8b20',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b20;
$custom-light: #85ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b20",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 94.206,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.15079,
    "h": 135
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#4E8B20
secondary
#8B4DBA
accent
#42E69F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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