#4E6240#4E6240

#4E6240 is a mid, muted yellow-green. Relative luminance 0.107; OKLCH L 47.0% C 0.058 H 133.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4E6240
RGBrgb(78, 98, 64)
HSLhsl(95, 21%, 32%)
HSVhsv(95, 35%, 38%)
CMYKcmyk(20.4%, 0%, 34.7%, 61.6%)
CIE-LABlab(39.11, -14.54, 16.96)
CIE-LCHlch(39.11, 22.33, 130.60°)
OKLaboklab(47% -0.0395 0.0424)
OKLCHoklch(47% 0.058 133)
XYZxyz(8.4348, 10.7251, 6.4753)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6240 #544062
analogous
#5F6240 #4E6240 #406243
triadic
#4E6240 #404E62 #62404E
tetradic
#4E6240 #405F62 #544062 #624340
square
#4E6240 #405F62 #544062 #624340
split-complementary
#4E6240 #434062 #62405F
monochromatic
#131810 #313D28 #4E6240 #6B8758 #8AA677

Accessibility & contrast

On white

6.68
#4E6240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E6240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6240
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6240#FFFFFF#000000##FFFFFF
##4E62401.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#4E5F59
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e6240;
/* rgb */ color: rgb(78, 98, 64);
/* oklch */ color: oklch(47.0% 0.058 133.0);
Tailwind
colors: {
  custom: {
    50: '#808e75',
    500: '#4e6240',
    950: '#000000',
  },
}
SCSS
$custom: #4e6240;
$custom-light: #808e75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6240",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 64
  },
  "hsl": {
    "h": 95.294,
    "s": 20.988,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.05798,
    "h": 133
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#4E6240
secondary
#826C92
accent
#6ABE9B
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0C08
muted
#7C7D7B

Preview Lab

Preview with #4E6240

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

Preview Lab → · Contrast checker → · Palette generator →

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