#4E5F40#4E5F40

#4E5F40 is a mid, muted yellow-green. Relative luminance 0.102; OKLCH L 46.2% C 0.053 H 131.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#4E5F40
RGBrgb(78, 95, 64)
HSLhsl(93, 19%, 31%)
HSVhsv(93, 33%, 37%)
CMYKcmyk(17.9%, 0%, 32.6%, 62.7%)
CIE-LABlab(38.15, -12.85, 15.67)
CIE-LCHlch(38.15, 20.27, 129.35°)
OKLaboklab(46.23% -0.0349 0.0393)
OKLCHoklch(46.23% 0.053 131.6)
XYZxyz(8.1593, 10.1742, 6.3834)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F40 #51405F
analogous
#5D5F40 #4E5F40 #405F41
triadic
#4E5F40 #404E5F #5F404E
tetradic
#4E5F40 #405D5F #51405F #5F4140
square
#4E5F40 #405D5F #51405F #5F4140
split-complementary
#4E5F40 #41405F #5F405D
monochromatic
#12160F #303A27 #4E5F40 #6C8459 #8BA376

Accessibility & contrast

On white

6.92
#4E5F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E5F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F40
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F40#FFFFFF#000000##FFFFFF
##4E5F401.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#4F5C57
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5f40;
/* rgb */ color: rgb(78, 95, 64);
/* oklch */ color: oklch(46.2% 0.053 131.6);
Tailwind
colors: {
  custom: {
    50: '#808c75',
    500: '#4e5f40',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f40;
$custom-light: #808c75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f40",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 64
  },
  "hsl": {
    "h": 92.903,
    "s": 19.497,
    "l": 31.176
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.05257,
    "h": 131.6
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#4E5F40
secondary
#7F6C8F
accent
#6CBC98
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #4E5F40

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

Preview Lab → · Contrast checker → · Palette generator →

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