#4E9821#4E9821

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

Color values

HEX#4E9821
RGBrgb(78, 152, 33)
HSLhsl(97, 64%, 36%)
HSVhsv(97, 78%, 60%)
CMYKcmyk(48.7%, 0%, 78.3%, 40.4%)
CIE-LABlab(56.27, -43.47, 51.42)
CIE-LCHlch(56.27, 67.34, 130.21°)
OKLaboklab(60.86% -0.1209 0.1146)
OKLCHoklch(60.86% 0.167 136.5)
XYZxyz(14.6442, 24.1850, 5.3351)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9821 #6B2198
analogous
#8A9821 #4E9821 #219830
triadic
#4E9821 #214E98 #98214E
tetradic
#4E9821 #218A98 #6B2198 #983021
square
#4E9821 #218A98 #6B2198 #983021
split-complementary
#4E9821 #302198 #98218A
monochromatic
#1A330B #346616 #4E9821 #68CA2C #8ADB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E9821#FFFFFF#000000##000000
##4E98211.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)
#9D8B02
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#4A9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4e9821;
/* rgb */ color: rgb(78, 152, 33);
/* oklch */ color: oklch(60.9% 0.167 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b766',
    500: '#4e9821',
    950: '#000000',
  },
}
SCSS
$custom: #4e9821;
$custom-light: #87b766;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9821",
  "rgb": {
    "r": 78,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 97.311,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.1666,
    "h": 136.5
  },
  "luminance": 0.24186
}

Semantic roles & 50–950 ramp

primary
#4E9821
secondary
#9756BF
accent
#40E7A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9821

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

Preview Lab → · Contrast checker → · Palette generator →

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