#4E8821#4E8821

#4E8821 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.146 H 134.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E8821
RGBrgb(78, 136, 33)
HSLhsl(94, 61%, 33%)
HSVhsv(94, 76%, 53%)
CMYKcmyk(42.6%, 0%, 75.7%, 46.7%)
CIE-LABlab(51.08, -36.78, 46.37)
CIE-LCHlch(51.08, 59.18, 128.42°)
OKLaboklab(56.6% -0.1029 0.104)
OKLCHoklch(56.6% 0.146 134.7)
XYZxyz(12.2203, 19.3372, 4.5271)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8821 #5B2188
analogous
#818821 #4E8821 #218827
triadic
#4E8821 #214E88 #88214E
tetradic
#4E8821 #218188 #5B2188 #882721
square
#4E8821 #218188 #5B2188 #882721
split-complementary
#4E8821 #272188 #882181
monochromatic
#162509 #325715 #4E8821 #6AB92D #89D44F

Accessibility & contrast

On white

4.31
#4E8821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E8821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8821
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8821#FFFFFF#000000##000000
##4E88211.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0D
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#4D8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8821;
/* rgb */ color: rgb(78, 136, 33);
/* oklch */ color: oklch(56.6% 0.146 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ab64',
    500: '#4e8821',
    950: '#000000',
  },
}
SCSS
$custom: #4e8821;
$custom-light: #85ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8821",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 93.786,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.1463,
    "h": 134.7
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#4E8821
secondary
#894DB8
accent
#44E49E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8821

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

Preview Lab → · Contrast checker → · Palette generator →

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