#4E822A#4E822A

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

Color values

HEX#4E822A
RGBrgb(78, 130, 42)
HSLhsl(95, 51%, 34%)
HSVhsv(95, 68%, 51%)
CMYKcmyk(40%, 0%, 67.7%, 49%)
CIE-LABlab(49.19, -33.40, 40.74)
CIE-LCHlch(49.19, 52.69, 129.35°)
OKLaboklab(55.08% -0.093 0.0935)
OKLCHoklch(55.08% 0.132 134.9)
XYZxyz(11.5422, 17.7516, 5.0083)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E822A #5E2A82
analogous
#7A822A #4E822A #2A8232
triadic
#4E822A #2A4E82 #822A4E
tetradic
#4E822A #2A7A82 #5E2A82 #82322A
square
#4E822A #2A7A82 #5E2A82 #82322A
split-complementary
#4E822A #322A82 #822A7A
monochromatic
#16250C #32541B #4E822A #6AB039 #89CA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E822A#FFFFFF#000000##FFFFFF
##4E822A1.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)
#87781E
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#4D7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e822a;
/* rgb */ color: rgb(78, 130, 42);
/* oklch */ color: oklch(55.1% 0.132 134.9);
Tailwind
colors: {
  custom: {
    50: '#84a768',
    500: '#4e822a',
    950: '#000000',
  },
}
SCSS
$custom: #4e822a;
$custom-light: #84a768;
$custom-dark: #000000;
JSON
{
  "hex": "#4e822a",
  "rgb": {
    "r": 78,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 95.455,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.1319,
    "h": 134.9
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#4E822A
secondary
#8C58B0
accent
#4DDBA1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E822A

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

Preview Lab → · Contrast checker → · Palette generator →

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