#4E8D22#4E8D22

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

Color values

HEX#4E8D22
RGBrgb(78, 141, 34)
HSLhsl(95, 61%, 34%)
HSVhsv(95, 76%, 55%)
CMYKcmyk(44.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(52.71, -38.86, 47.61)
CIE-LCHlch(52.71, 61.45, 129.22°)
OKLaboklab(57.94% -0.1084 0.1068)
OKLCHoklch(57.94% 0.152 135.4)
XYZxyz(12.9552, 20.7842, 4.8422)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D22 #61228D
analogous
#848D22 #4E8D22 #228D2C
triadic
#4E8D22 #224E8D #8D224E
tetradic
#4E8D22 #22848D #61228D #8D2C22
square
#4E8D22 #22848D #61228D #8D2C22
split-complementary
#4E8D22 #2C228D #8D2284
monochromatic
#172A0A #335C16 #4E8D22 #69BE2E #89D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8D22#FFFFFF#000000##000000
##4E8D221.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)
#92810C
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#4C8878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d22;
/* rgb */ color: rgb(78, 141, 34);
/* oklch */ color: oklch(57.9% 0.152 135.4);
Tailwind
colors: {
  custom: {
    50: '#85af65',
    500: '#4e8d22',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d22;
$custom-light: #85af65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d22",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 95.327,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.15217,
    "h": 135.4
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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