#4E8C20#4E8C20

#4E8C20 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.152 H 135.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E8C20
RGBrgb(78, 140, 32)
HSLhsl(94, 63%, 34%)
HSVhsv(94, 77%, 55%)
CMYKcmyk(44.3%, 0%, 77.1%, 45.1%)
CIE-LABlab(52.38, -38.56, 48.00)
CIE-LCHlch(52.38, 61.57, 128.78°)
OKLaboklab(57.66% -0.1078 0.1073)
OKLCHoklch(57.66% 0.152 135.1)
XYZxyz(12.7804, 20.4794, 4.6457)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C20 #5E208C
analogous
#848C20 #4E8C20 #208C28
triadic
#4E8C20 #204E8C #8C204E
tetradic
#4E8C20 #20848C #5E208C #8C2820
square
#4E8C20 #20848C #5E208C #8C2820
split-complementary
#4E8C20 #28208C #8C2084
monochromatic
#162809 #325A15 #4E8C20 #6ABE2B #89D750

Accessibility & contrast

On white

4.12
#4E8C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E8C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C20
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C20#FFFFFF#000000##000000
##4E8C201.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c20;
/* rgb */ color: rgb(78, 140, 32);
/* oklch */ color: oklch(57.7% 0.152 135.1);
Tailwind
colors: {
  custom: {
    50: '#85ae64',
    500: '#4e8c20',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c20;
$custom-light: #85ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c20",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 94.444,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57656,
    "c": 0.15207,
    "h": 135.1
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#4E8C20
secondary
#8C4EBA
accent
#42E6A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C20

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

Preview Lab → · Contrast checker → · Palette generator →

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