#4E9D21#4E9D21

#4E9D21 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.2% C 0.173 H 137.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E9D21
RGBrgb(78, 157, 33)
HSLhsl(98, 65%, 37%)
HSVhsv(98, 79%, 62%)
CMYKcmyk(50.3%, 0%, 79%, 38.4%)
CIE-LABlab(57.89, -45.47, 52.96)
CIE-LCHlch(57.89, 69.80, 130.64°)
OKLaboklab(62.19% -0.1263 0.1178)
OKLCHoklch(62.19% 0.173 137)
XYZxyz(15.4729, 25.8424, 5.6113)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E9D21 #70219D
analogous
#8C9D21 #4E9D21 #219D32
triadic
#4E9D21 #214E9D #9D214E
tetradic
#4E9D21 #218C9D #70219D #9D3221
square
#4E9D21 #218C9D #70219D #9D3221
split-complementary
#4E9D21 #32219D #9D218C
monochromatic
#1C380C #356A16 #4E9D21 #67D02C #8BDD5C

Accessibility & contrast

On white

3.40
#4E9D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#4E9D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E9D21
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E9D21#FFFFFF#000000##000000
##4E9D211.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#499786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e9d21;
/* rgb */ color: rgb(78, 157, 33);
/* oklch */ color: oklch(62.2% 0.173 137.0);
Tailwind
colors: {
  custom: {
    50: '#88ba67',
    500: '#4e9d21',
    950: '#000000',
  },
}
SCSS
$custom: #4e9d21;
$custom-light: #88ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e9d21",
  "rgb": {
    "r": 78,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 98.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.17272,
    "h": 137
  },
  "luminance": 0.25843
}

Semantic roles & 50–950 ramp

primary
#4E9D21
secondary
#9B59C1
accent
#40E8AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4E9D21

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

Preview Lab → · Contrast checker → · Palette generator →

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