#4E9822#4E9822

#4E9822 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.166 H 136.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4E9822
RGBrgb(78, 152, 34)
HSLhsl(98, 63%, 36%)
HSVhsv(98, 78%, 60%)
CMYKcmyk(48.7%, 0%, 77.6%, 40.4%)
CIE-LABlab(56.28, -43.41, 51.09)
CIE-LCHlch(56.28, 67.04, 130.35°)
OKLaboklab(60.87% -0.1207 0.114)
OKLCHoklch(60.87% 0.166 136.6)
XYZxyz(14.6584, 24.1907, 5.4099)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9822 #6C2298
analogous
#899822 #4E9822 #229831
triadic
#4E9822 #224E98 #98224E
tetradic
#4E9822 #228998 #6C2298 #983122
square
#4E9822 #228998 #6C2298 #983122
split-complementary
#4E9822 #312298 #982289
monochromatic
#1B340C #346617 #4E9822 #68CA2D #8ADA5A

Accessibility & contrast

On white

3.60
#4E9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#4E9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9822
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9822#FFFFFF#000000##000000
##4E98221.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B05
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9822;
/* rgb */ color: rgb(78, 152, 34);
/* oklch */ color: oklch(60.9% 0.166 136.6);
Tailwind
colors: {
  custom: {
    50: '#87b766',
    500: '#4e9822',
    950: '#000000',
  },
}
SCSS
$custom: #4e9822;
$custom-light: #87b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9822",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 97.627,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.16605,
    "h": 136.6
  },
  "luminance": 0.24192
}

Semantic roles & 50–950 ramp

primary
#4E9822
secondary
#9857BE
accent
#41E6A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9822

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

Preview Lab → · Contrast checker → · Palette generator →

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