#4E8822#4E8822

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

Color values

HEX#4E8822
RGBrgb(78, 136, 34)
HSLhsl(94, 60%, 33%)
HSVhsv(94, 75%, 53%)
CMYKcmyk(42.6%, 0%, 75%, 46.7%)
CIE-LABlab(51.09, -36.71, 46.00)
CIE-LCHlch(51.09, 58.85, 128.59°)
OKLaboklab(56.6% -0.1026 0.1034)
OKLCHoklch(56.6% 0.146 134.8)
XYZxyz(12.2345, 19.3429, 4.6020)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8822 #5C2288
analogous
#818822 #4E8822 #228829
triadic
#4E8822 #224E88 #88224E
tetradic
#4E8822 #228188 #5C2288 #882922
square
#4E8822 #228188 #5C2288 #882922
split-complementary
#4E8822 #292288 #882281
monochromatic
#16260A #325716 #4E8822 #6AB92E #89D351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8822#FFFFFF#000000##000000
##4E88221.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)
#8D7D0F
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#4D8374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8822;
/* rgb */ color: rgb(78, 136, 34);
/* oklch */ color: oklch(56.6% 0.146 134.8);
Tailwind
colors: {
  custom: {
    50: '#85ab64',
    500: '#4e8822',
    950: '#000000',
  },
}
SCSS
$custom: #4e8822;
$custom-light: #85ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8822",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 94.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.14568,
    "h": 134.8
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#4E8822
secondary
#8A4FB7
accent
#45E39F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E8822

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

Preview Lab → · Contrast checker → · Palette generator →

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