#4E8D20#4E8D20

#4E8D20 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.153 H 135.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8D20
RGBrgb(78, 141, 32)
HSLhsl(95, 63%, 34%)
HSVhsv(95, 77%, 55%)
CMYKcmyk(44.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.70, -38.99, 48.32)
CIE-LCHlch(52.70, 62.09, 128.90°)
OKLaboklab(57.92% -0.1089 0.1079)
OKLCHoklch(57.92% 0.153 135.3)
XYZxyz(12.9272, 20.7730, 4.6946)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D20 #5F208D
analogous
#858D20 #4E8D20 #208D29
triadic
#4E8D20 #204E8D #8D204E
tetradic
#4E8D20 #20858D #5F208D #8D2920
square
#4E8D20 #20858D #5F208D #8D2920
split-complementary
#4E8D20 #29208D #8D2085
monochromatic
#172909 #325B15 #4E8D20 #6ABF2B #89D750

Accessibility & contrast

On white

4.07
#4E8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D20#FFFFFF#000000##000000
##4E8D201.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d20;
/* rgb */ color: rgb(78, 141, 32);
/* oklch */ color: oklch(57.9% 0.153 135.3);
Tailwind
colors: {
  custom: {
    50: '#86af64',
    500: '#4e8d20',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d20;
$custom-light: #86af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d20",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 94.679,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.15334,
    "h": 135.3
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8D20

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

Preview Lab → · Contrast checker → · Palette generator →

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