#4E9C20#4E9C20

#4E9C20 is a mid, vivid yellow-green. Relative luminance 0.255; OKLCH L 61.9% C 0.172 H 136.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4E9C20
RGBrgb(78, 156, 32)
HSLhsl(98, 66%, 37%)
HSVhsv(98, 79%, 61%)
CMYKcmyk(50%, 0%, 79.5%, 38.8%)
CIE-LABlab(57.56, -45.13, 52.97)
CIE-LCHlch(57.56, 69.59, 130.43°)
OKLaboklab(61.92% -0.1255 0.1177)
OKLCHoklch(61.92% 0.172 136.8)
XYZxyz(15.2906, 25.4998, 5.4825)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9C20 #6E209C
analogous
#8C9C20 #4E9C20 #209C30
triadic
#4E9C20 #204E9C #9C204E
tetradic
#4E9C20 #208C9C #6E209C #9C3020
square
#4E9C20 #208C9C #6E209C #9C3020
split-complementary
#4E9C20 #30209C #9C208C
monochromatic
#1B360B #356916 #4E9C20 #67CF2A #8ADD59

Accessibility & contrast

On white

3.44
#4E9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#4E9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9C20
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9C20#FFFFFF#000000##000000
##4E9C201.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#4A9685
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #4e9c20;
/* rgb */ color: rgb(78, 156, 32);
/* oklch */ color: oklch(61.9% 0.172 136.8);
Tailwind
colors: {
  custom: {
    50: '#87ba66',
    500: '#4e9c20',
    950: '#000000',
  },
}
SCSS
$custom: #4e9c20;
$custom-light: #87ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9c20",
  "rgb": {
    "r": 78,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 97.742,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.17201,
    "h": 136.8
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#4E9C20
secondary
#9A57C1
accent
#3FE9AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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