#4E5A40#4E5A40

#4E5A40 is a dark, muted yellow-green. Relative luminance 0.093; OKLCH L 45.0% C 0.043 H 128.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4E5A40
RGBrgb(78, 90, 64)
HSLhsl(88, 17%, 30%)
HSVhsv(88, 29%, 35%)
CMYKcmyk(13.3%, 0%, 28.9%, 64.7%)
CIE-LABlab(36.56, -9.98, 13.52)
CIE-LCHlch(36.56, 16.81, 126.44°)
OKLaboklab(44.96% -0.0269 0.0342)
OKLCHoklch(44.96% 0.043 128.2)
XYZxyz(7.7233, 9.3021, 6.2381)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A40 #4C405A
analogous
#5A5940 #4E5A40 #415A40
triadic
#4E5A40 #404E5A #5A404E
tetradic
#4E5A40 #405A59 #4C405A #5A4041
square
#4E5A40 #405A59 #4C405A #5A4041
split-complementary
#4E5A40 #40415A #59405A
monochromatic
#10120D #2F3627 #4E5A40 #6D7E59 #8C9E76

Accessibility & contrast

On white

7.34
#4E5A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E5A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5A40
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A40#FFFFFF#000000##FFFFFF
##4E5A401.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#5B5641
Tritanopia (blue-blind)
#4F5853
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5a40;
/* rgb */ color: rgb(78, 90, 64);
/* oklch */ color: oklch(45.0% 0.043 128.2);
Tailwind
colors: {
  custom: {
    50: '#808875',
    500: '#4e5a40',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a40;
$custom-light: #808875;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a40",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 87.692,
    "s": 16.883,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44955,
    "c": 0.04346,
    "h": 128.2
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#4E5A40
secondary
#7A6C89
accent
#6EBA91
background
#F7F8F7
surface
#EEEFED
border
#C9CAC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #4E5A40

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

Preview Lab → · Contrast checker → · Palette generator →

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