#4E822F#4E822F

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

Color values

HEX#4E822F
RGBrgb(78, 130, 47)
HSLhsl(98, 47%, 35%)
HSVhsv(98, 64%, 51%)
CMYKcmyk(40%, 0%, 63.8%, 49%)
CIE-LABlab(49.24, -32.93, 38.51)
CIE-LCHlch(49.24, 50.67, 130.53°)
OKLaboklab(55.13% -0.0913 0.0894)
OKLCHoklch(55.13% 0.128 135.6)
XYZxyz(11.6373, 17.7896, 5.5093)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E822F #632F82
analogous
#78822F #4E822F #2F8239
triadic
#4E822F #2F4E82 #822F4E
tetradic
#4E822F #2F7882 #632F82 #82392F
square
#4E822F #2F7882 #632F82 #82392F
split-complementary
#4E822F #392F82 #822F78
monochromatic
#18280E #33551F #4E822F #69AF3F #89C764

Accessibility & contrast

On white

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

On black

4.56
#4E822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E822F#FFFFFF#000000##FFFFFF
##4E822F1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e822f;
/* rgb */ color: rgb(78, 130, 47);
/* oklch */ color: oklch(55.1% 0.128 135.6);
Tailwind
colors: {
  custom: {
    50: '#83a76b',
    500: '#4e822f',
    950: '#000000',
  },
}
SCSS
$custom: #4e822f;
$custom-light: #83a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e822f",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 97.59,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.1278,
    "h": 135.6
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#4E822F
secondary
#905FAE
accent
#51D7A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E822F

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

Preview Lab → · Contrast checker → · Palette generator →

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