#4E8E22#4E8E22

#4E8E22 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.153 H 135.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E8E22
RGBrgb(78, 142, 34)
HSLhsl(96, 61%, 35%)
HSVhsv(96, 76%, 56%)
CMYKcmyk(45.1%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.04, -39.28, 47.93)
CIE-LCHlch(53.04, 61.97, 129.33°)
OKLaboklab(58.2% -0.1096 0.1074)
OKLCHoklch(58.2% 0.153 135.6)
XYZxyz(13.1033, 21.0804, 4.8915)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E22 #62228E
analogous
#848E22 #4E8E22 #228E2C
triadic
#4E8E22 #224E8E #8E224E
tetradic
#4E8E22 #22848E #62228E #8E2C22
square
#4E8E22 #22848E #62228E #8E2C22
split-complementary
#4E8E22 #2C228E #8E2284
monochromatic
#182B0A #335D16 #4E8E22 #69BF2E #89D654

Accessibility & contrast

On white

4.03
#4E8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E22
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E22#FFFFFF#000000##000000
##4E8E221.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e22;
/* rgb */ color: rgb(78, 142, 34);
/* oklch */ color: oklch(58.2% 0.153 135.6);
Tailwind
colors: {
  custom: {
    50: '#86af65',
    500: '#4e8e22',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e22;
$custom-light: #86af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e22",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 95.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58203,
    "c": 0.15346,
    "h": 135.6
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#4E8E22
secondary
#9052BA
accent
#43E4A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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