#4E842A#4E842A

#4E842A is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.6% C 0.135 H 135.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4E842A
RGBrgb(78, 132, 42)
HSLhsl(96, 52%, 34%)
HSVhsv(96, 68%, 52%)
CMYKcmyk(40.9%, 0%, 68.2%, 48.2%)
CIE-LABlab(49.84, -34.31, 41.44)
CIE-LCHlch(49.84, 53.80, 129.62°)
OKLaboklab(55.61% -0.0955 0.095)
OKLCHoklch(55.61% 0.135 135.2)
XYZxyz(11.8108, 18.2888, 5.0978)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E842A #602A84
analogous
#7B842A #4E842A #2A8433
triadic
#4E842A #2A4E84 #842A4E
tetradic
#4E842A #2A7B84 #602A84 #84332A
square
#4E842A #2A7B84 #602A84 #84332A
split-complementary
#4E842A #332A84 #842A7B
monochromatic
#17270C #33561B #4E842A #69B239 #89CB5D

Accessibility & contrast

On white

4.51
#4E842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4E842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E842A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E842A#FFFFFF#000000##000000
##4E842A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#817532
Tritanopia (blue-blind)
#4D7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e842a;
/* rgb */ color: rgb(78, 132, 42);
/* oklch */ color: oklch(55.6% 0.135 135.2);
Tailwind
colors: {
  custom: {
    50: '#84a868',
    500: '#4e842a',
    950: '#000000',
  },
}
SCSS
$custom: #4e842a;
$custom-light: #84a868;
$custom-dark: #000000;
JSON
{
  "hex": "#4e842a",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 96,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.13468,
    "h": 135.2
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#4E842A
secondary
#8E59B1
accent
#4DDBA2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E842A

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

Preview Lab → · Contrast checker → · Palette generator →

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