#4E9A21#4E9A21

#4E9A21 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.4% C 0.169 H 136.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4E9A21
RGBrgb(78, 154, 33)
HSLhsl(98, 65%, 37%)
HSVhsv(98, 79%, 60%)
CMYKcmyk(49.4%, 0%, 78.6%, 39.6%)
CIE-LABlab(56.92, -44.27, 52.04)
CIE-LCHlch(56.92, 68.33, 130.39°)
OKLaboklab(61.39% -0.1231 0.1159)
OKLCHoklch(61.39% 0.169 136.7)
XYZxyz(14.9716, 24.8397, 5.4442)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9A21 #6D219A
analogous
#8B9A21 #4E9A21 #219A31
triadic
#4E9A21 #214E9A #9A214E
tetradic
#4E9A21 #218B9A #6D219A #9A3121
square
#4E9A21 #218B9A #6D219A #9A3121
split-complementary
#4E9A21 #31219A #9A218B
monochromatic
#1B350B #346816 #4E9A21 #68CC2C #8ADC5A

Accessibility & contrast

On white

3.52
#4E9A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#4E9A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9A21
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9A21#FFFFFF#000000##000000
##4E9A211.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D01
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#4A9483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #4e9a21;
/* rgb */ color: rgb(78, 154, 33);
/* oklch */ color: oklch(61.4% 0.169 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b866',
    500: '#4e9a21',
    950: '#000000',
  },
}
SCSS
$custom: #4e9a21;
$custom-light: #87b866;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9a21",
  "rgb": {
    "r": 78,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 97.686,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.16905,
    "h": 136.7
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#4E9A21
secondary
#9957C0
accent
#40E8A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4E9A21

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

Preview Lab → · Contrast checker → · Palette generator →

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