#4E8C22#4E8C22

#4E8C22 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.7% C 0.151 H 135.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E8C22
RGBrgb(78, 140, 34)
HSLhsl(95, 61%, 34%)
HSVhsv(95, 76%, 55%)
CMYKcmyk(44.3%, 0%, 75.7%, 45.1%)
CIE-LABlab(52.39, -38.43, 47.29)
CIE-LCHlch(52.39, 60.94, 129.10°)
OKLaboklab(57.67% -0.1073 0.1061)
OKLCHoklch(57.67% 0.151 135.3)
XYZxyz(12.8084, 20.4906, 4.7932)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C22 #60228C
analogous
#838C22 #4E8C22 #228C2B
triadic
#4E8C22 #224E8C #8C224E
tetradic
#4E8C22 #22838C #60228C #8C2B22
square
#4E8C22 #22838C #60228C #8C2B22
split-complementary
#4E8C22 #2B228C #8C2283
monochromatic
#172A0A #335B16 #4E8C22 #69BD2E #89D553

Accessibility & contrast

On white

4.12
#4E8C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E8C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C22
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C22#FFFFFF#000000##000000
##4E8C221.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c22;
/* rgb */ color: rgb(78, 140, 34);
/* oklch */ color: oklch(57.7% 0.151 135.3);
Tailwind
colors: {
  custom: {
    50: '#85ae65',
    500: '#4e8c22',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c22;
$custom-light: #85ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c22",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 95.094,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.15088,
    "h": 135.3
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#4E8C22
secondary
#8E51B9
accent
#44E4A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C22

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

Preview Lab → · Contrast checker → · Palette generator →

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