#4E6840#4E6840

#4E6840 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.069 H 135.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4E6840
RGBrgb(78, 104, 64)
HSLhsl(99, 24%, 33%)
HSVhsv(99, 38%, 41%)
CMYKcmyk(25%, 0%, 38.5%, 59.2%)
CIE-LABlab(41.04, -17.82, 19.51)
CIE-LCHlch(41.04, 26.42, 132.42°)
OKLaboklab(48.55% -0.0487 0.0484)
OKLCHoklch(48.55% 0.069 135.1)
XYZxyz(9.0174, 11.8903, 6.6694)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6840 #5A4068
analogous
#626840 #4E6840 #406846
triadic
#4E6840 #404E68 #68404E
tetradic
#4E6840 #406268 #5A4068 #684640
square
#4E6840 #406268 #5A4068 #684640
split-complementary
#4E6840 #464068 #684062
monochromatic
#151C11 #324229 #4E6840 #6A8E57 #89AB77

Accessibility & contrast

On white

6.22
#4E6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6840
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6840#FFFFFF#000000##FFFFFF
##4E68401.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#4E655E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6840;
/* rgb */ color: rgb(78, 104, 64);
/* oklch */ color: oklch(48.5% 0.069 135.1);
Tailwind
colors: {
  custom: {
    50: '#809375',
    500: '#4e6840',
    950: '#000000',
  },
}
SCSS
$custom: #4e6840;
$custom-light: #809375;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6840",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 99,
    "s": 23.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.06865,
    "h": 135.1
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#4E6840
secondary
#886D97
accent
#68C0A1
background
#F7F9F7
surface
#EEF1ED
border
#C9CBC8
text
#0A0D08
muted
#7C7E7B

Preview Lab

Preview with #4E6840

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

Preview Lab → · Contrast checker → · Palette generator →

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