#4E822D#4E822D

#4E822D is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.129 H 135.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4E822D
RGBrgb(78, 130, 45)
HSLhsl(97, 49%, 34%)
HSVhsv(97, 65%, 51%)
CMYKcmyk(40%, 0%, 65.4%, 49%)
CIE-LABlab(49.22, -33.12, 39.42)
CIE-LCHlch(49.22, 51.49, 130.04°)
OKLaboklab(55.11% -0.092 0.0911)
OKLCHoklch(55.11% 0.129 135.3)
XYZxyz(11.5979, 17.7738, 5.3017)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E822D #612D82
analogous
#79822D #4E822D #2D8237
triadic
#4E822D #2D4E82 #822D4E
tetradic
#4E822D #2D7982 #612D82 #82372D
square
#4E822D #2D7982 #612D82 #82372D
split-complementary
#4E822D #372D82 #822D79
monochromatic
#17270E #33551D #4E822D #69AF3D #89C861

Accessibility & contrast

On white

4.61
#4E822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4E822D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E822D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E822D#FFFFFF#000000##FFFFFF
##4E822D1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#807334
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e822d;
/* rgb */ color: rgb(78, 130, 45);
/* oklch */ color: oklch(55.1% 0.129 135.3);
Tailwind
colors: {
  custom: {
    50: '#84a76a',
    500: '#4e822d',
    950: '#000000',
  },
}
SCSS
$custom: #4e822d;
$custom-light: #84a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e822d",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 96.706,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.12949,
    "h": 135.3
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#4E822D
secondary
#8F5CAF
accent
#50D8A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E822D

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

Preview Lab → · Contrast checker → · Palette generator →

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