#4E842E#4E842E

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

Color values

HEX#4E842E
RGBrgb(78, 132, 46)
HSLhsl(98, 48%, 35%)
HSVhsv(98, 65%, 52%)
CMYKcmyk(40.9%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.88, -33.93, 39.68)
CIE-LCHlch(49.88, 52.21, 130.53°)
OKLaboklab(55.65% -0.0941 0.0918)
OKLCHoklch(55.65% 0.131 135.7)
XYZxyz(11.8860, 18.3189, 5.4938)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E842E #642E84
analogous
#79842E #4E842E #2E8439
triadic
#4E842E #2E4E84 #842E4E
tetradic
#4E842E #2E7984 #642E84 #84392E
square
#4E842E #2E7984 #642E84 #84392E
split-complementary
#4E842E #392E84 #842E79
monochromatic
#18290E #33571E #4E842E #69B13E #89C964

Accessibility & contrast

On white

4.50
#4E842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E842E#FFFFFF#000000##000000
##4E842E1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897924
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#4C7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e842e;
/* rgb */ color: rgb(78, 132, 46);
/* oklch */ color: oklch(55.6% 0.131 135.7);
Tailwind
colors: {
  custom: {
    50: '#84a86b',
    500: '#4e842e',
    950: '#000000',
  },
}
SCSS
$custom: #4e842e;
$custom-light: #84a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e842e",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 97.674,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.13148,
    "h": 135.7
  },
  "luminance": 0.18319
}

Semantic roles & 50–950 ramp

primary
#4E842E
secondary
#915EB0
accent
#50D8A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E842E

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

Preview Lab → · Contrast checker → · Palette generator →

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