#4E8F21#4E8F21

#4E8F21 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.155 H 135.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F21
RGBrgb(78, 143, 33)
HSLhsl(95, 63%, 35%)
HSVhsv(95, 77%, 56%)
CMYKcmyk(45.5%, 0%, 76.9%, 43.9%)
CIE-LABlab(53.36, -39.77, 48.60)
CIE-LCHlch(53.36, 62.80, 129.29°)
OKLaboklab(58.46% -0.1109 0.1087)
OKLCHoklch(58.46% 0.155 135.6)
XYZxyz(13.2385, 21.3736, 4.8665)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F21 #62218F
analogous
#858F21 #4E8F21 #218F2B
triadic
#4E8F21 #214E8F #8F214E
tetradic
#4E8F21 #21858F #62218F #8F2B21
square
#4E8F21 #21858F #62218F #8F2B21
split-complementary
#4E8F21 #2B218F #8F2185
monochromatic
#182C0A #335D16 #4E8F21 #69C12C #89D753

Accessibility & contrast

On white

3.98
#4E8F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F21
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F21#FFFFFF#000000##000000
##4E8F211.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#8C7D2C
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f21;
/* rgb */ color: rgb(78, 143, 33);
/* oklch */ color: oklch(58.5% 0.155 135.6);
Tailwind
colors: {
  custom: {
    50: '#86b065',
    500: '#4e8f21',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f21;
$custom-light: #86b065;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f21",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 95.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.15532,
    "h": 135.6
  },
  "luminance": 0.21374
}

Semantic roles & 50–950 ramp

primary
#4E8F21
secondary
#9051BB
accent
#42E6A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F21

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

Preview Lab → · Contrast checker → · Palette generator →

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