#4E6837#4E6837

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

Color values

HEX#4E6837
RGBrgb(78, 104, 55)
HSLhsl(92, 31%, 31%)
HSVhsv(92, 47%, 41%)
CMYKcmyk(25%, 0%, 47.1%, 59.2%)
CIE-LABlab(40.89, -19.18, 24.48)
CIE-LCHlch(40.89, 31.10, 128.08°)
OKLaboklab(48.38% -0.0528 0.0595)
OKLCHoklch(48.38% 0.08 131.6)
XYZxyz(8.7816, 11.7960, 5.4279)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6837 #513768
analogous
#666837 #4E6837 #376838
triadic
#4E6837 #374E68 #68374E
tetradic
#4E6837 #376668 #513768 #683837
square
#4E6837 #376668 #513768 #683837
split-complementary
#4E6837 #383768 #683766
monochromatic
#12180D #304022 #4E6837 #6C904C #8BB069

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6837#FFFFFF#000000##FFFFFF
##4E68371.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)
#6C6233
Deuteranopia (green-blind)
#68603A
Tritanopia (blue-blind)
#4F645C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6837;
/* rgb */ color: rgb(78, 104, 55);
/* oklch */ color: oklch(48.4% 0.080 131.6);
Tailwind
colors: {
  custom: {
    50: '#81936f',
    500: '#4e6837',
    950: '#000000',
  },
}
SCSS
$custom: #4e6837;
$custom-light: #81936f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6837",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 55
  },
  "hsl": {
    "h": 91.837,
    "s": 30.818,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.07955,
    "h": 131.6
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#4E6837
secondary
#7F6298
accent
#61C797
background
#F7F9F6
surface
#EEF1EC
border
#C9CBC7
text
#0A0D07
muted
#7C7E7A

Preview Lab

Preview with #4E6837

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

Preview Lab → · Contrast checker → · Palette generator →

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