#4E842D#4E842D

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

Color values

HEX#4E842D
RGBrgb(78, 132, 45)
HSLhsl(97, 49%, 35%)
HSVhsv(97, 66%, 52%)
CMYKcmyk(40.9%, 0%, 65.9%, 48.2%)
CIE-LABlab(49.87, -34.03, 40.13)
CIE-LCHlch(49.87, 52.62, 130.30°)
OKLaboklab(55.64% -0.0945 0.0926)
OKLCHoklch(55.64% 0.132 135.6)
XYZxyz(11.8665, 18.3111, 5.3912)
Luminance0.1831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E842D #632D84
analogous
#7A842D #4E842D #2D8437
triadic
#4E842D #2D4E84 #842D4E
tetradic
#4E842D #2D7A84 #632D84 #84372D
square
#4E842D #2D7A84 #632D84 #84372D
split-complementary
#4E842D #372D84 #842D7A
monochromatic
#18290E #33561D #4E842D #69B23D #89C962

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E842D#FFFFFF#000000##000000
##4E842D1.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)
#897922
Deuteranopia (green-blind)
#817534
Tritanopia (blue-blind)
#4D7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e842d;
/* rgb */ color: rgb(78, 132, 45);
/* oklch */ color: oklch(55.6% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#84a86a',
    500: '#4e842d',
    950: '#000000',
  },
}
SCSS
$custom: #4e842d;
$custom-light: #84a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e842d",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 97.241,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.13231,
    "h": 135.6
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#4E842D
secondary
#905DB0
accent
#4FD9A5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E842D

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

Preview Lab → · Contrast checker → · Palette generator →

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