#4E6838#4E6838

#4E6838 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.078 H 132.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4E6838
RGBrgb(78, 104, 56)
HSLhsl(93, 30%, 31%)
HSVhsv(93, 46%, 41%)
CMYKcmyk(25%, 0%, 46.2%, 59.2%)
CIE-LABlab(40.91, -19.04, 23.93)
CIE-LCHlch(40.91, 30.58, 128.50°)
OKLaboklab(48.4% -0.0524 0.0583)
OKLCHoklch(48.4% 0.078 132)
XYZxyz(8.8059, 11.8056, 5.5554)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6838 #523868
analogous
#666838 #4E6838 #38683A
triadic
#4E6838 #384E68 #68384E
tetradic
#4E6838 #386668 #523868 #683A38
square
#4E6838 #386668 #523868 #683A38
split-complementary
#4E6838 #3A3868 #683866
monochromatic
#12180D #304023 #4E6838 #6C904D #8AAF6B

Accessibility & contrast

On white

6.25
#4E6838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4E6838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6838
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6838#FFFFFF#000000##FFFFFF
##4E68381.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6234
Deuteranopia (green-blind)
#68603B
Tritanopia (blue-blind)
#4F645C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6838;
/* rgb */ color: rgb(78, 104, 56);
/* oklch */ color: oklch(48.4% 0.078 132.0);
Tailwind
colors: {
  custom: {
    50: '#81936f',
    500: '#4e6838',
    950: '#000000',
  },
}
SCSS
$custom: #4e6838;
$custom-light: #81936f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6838",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 92.5,
    "s": 30,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.07837,
    "h": 132
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#4E6838
secondary
#806398
accent
#62C698
background
#F7F9F6
surface
#EEF1EC
border
#C9CBC7
text
#0A0D07
muted
#7C7E7A

Preview Lab

Preview with #4E6838

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

Preview Lab → · Contrast checker → · Palette generator →

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