#4E6040#4E6040

#4E6040 is a mid, muted yellow-green. Relative luminance 0.104; OKLCH L 46.5% C 0.054 H 132.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4E6040
RGBrgb(78, 96, 64)
HSLhsl(94, 20%, 31%)
HSVhsv(94, 33%, 38%)
CMYKcmyk(18.7%, 0%, 33.3%, 62.4%)
CIE-LABlab(38.47, -13.42, 16.10)
CIE-LCHlch(38.47, 20.96, 129.80°)
OKLaboklab(46.49% -0.0364 0.0404)
OKLCHoklch(46.49% 0.054 132.1)
XYZxyz(8.2500, 10.3555, 6.4137)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6040 #524060
analogous
#5E6040 #4E6040 #406042
triadic
#4E6040 #404E60 #60404E
tetradic
#4E6040 #405E60 #524060 #604240
square
#4E6040 #405E60 #524060 #604240
split-complementary
#4E6040 #424060 #60405E
monochromatic
#12170F #303B28 #4E6040 #6C8558 #8AA476

Accessibility & contrast

On white

6.84
#4E6040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E6040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6040
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6040#FFFFFF#000000##FFFFFF
##4E60401.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B3E
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#4F5D58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6040;
/* rgb */ color: rgb(78, 96, 64);
/* oklch */ color: oklch(46.5% 0.054 132.1);
Tailwind
colors: {
  custom: {
    50: '#808d75',
    500: '#4e6040',
    950: '#000000',
  },
}
SCSS
$custom: #4e6040;
$custom-light: #808d75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6040",
  "rgb": {
    "r": 78,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 93.75,
    "s": 20,
    "l": 31.373
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.05438,
    "h": 132.1
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#4E6040
secondary
#806C90
accent
#6BBD99
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #4E6040

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

Preview Lab → · Contrast checker → · Palette generator →

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