#4E9B20#4E9B20

#4E9B20 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.6% C 0.171 H 136.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4E9B20
RGBrgb(78, 155, 32)
HSLhsl(98, 66%, 37%)
HSVhsv(98, 79%, 61%)
CMYKcmyk(49.7%, 0%, 79.4%, 39.2%)
CIE-LABlab(57.24, -44.73, 52.67)
CIE-LCHlch(57.24, 69.10, 130.34°)
OKLaboklab(61.65% -0.1244 0.117)
OKLCHoklch(61.65% 0.171 136.7)
XYZxyz(15.1235, 25.1656, 5.4268)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9B20 #6D209B
analogous
#8C9B20 #4E9B20 #209B30
triadic
#4E9B20 #204E9B #9B204E
tetradic
#4E9B20 #208C9B #6D209B #9B3020
square
#4E9B20 #208C9B #6D209B #9B3020
split-complementary
#4E9B20 #30209B #9B208C
monochromatic
#1B360B #346816 #4E9B20 #68CE2A #8ADD59

Accessibility & contrast

On white

3.48
#4E9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#4E9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9B20
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9B20#FFFFFF#000000##000000
##4E9B201.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#4A9584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9b20;
/* rgb */ color: rgb(78, 155, 32);
/* oklch */ color: oklch(61.6% 0.171 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b966',
    500: '#4e9b20',
    950: '#000000',
  },
}
SCSS
$custom: #4e9b20;
$custom-light: #87b966;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9b20",
  "rgb": {
    "r": 78,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 97.561,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.1708,
    "h": 136.7
  },
  "luminance": 0.25167
}

Semantic roles & 50–950 ramp

primary
#4E9B20
secondary
#9956C1
accent
#3FE9A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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