#4E8D21#4E8D21

#4E8D21 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.153 H 135.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E8D21
RGBrgb(78, 141, 33)
HSLhsl(95, 62%, 34%)
HSVhsv(95, 77%, 55%)
CMYKcmyk(44.7%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.71, -38.92, 47.97)
CIE-LCHlch(52.71, 61.77, 129.06°)
OKLaboklab(57.93% -0.1087 0.1074)
OKLCHoklch(57.93% 0.153 135.4)
XYZxyz(12.9410, 20.7785, 4.7673)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D21 #60218D
analogous
#848D21 #4E8D21 #218D2A
triadic
#4E8D21 #214E8D #8D214E
tetradic
#4E8D21 #21848D #60218D #8D2A21
square
#4E8D21 #21848D #60218D #8D2A21
split-complementary
#4E8D21 #2A218D #8D2184
monochromatic
#172A0A #335B15 #4E8D21 #69BF2D #89D652

Accessibility & contrast

On white

4.07
#4E8D21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E8D21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D21
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D21#FFFFFF#000000##000000
##4E8D211.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810A
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d21;
/* rgb */ color: rgb(78, 141, 33);
/* oklch */ color: oklch(57.9% 0.153 135.4);
Tailwind
colors: {
  custom: {
    50: '#85af65',
    500: '#4e8d21',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d21;
$custom-light: #85af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d21",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 95,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.15277,
    "h": 135.4
  },
  "luminance": 0.20779
}

Semantic roles & 50–950 ramp

primary
#4E8D21
secondary
#8E50BA
accent
#43E5A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D21

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

Preview Lab → · Contrast checker → · Palette generator →

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