#4E862C#4E862C

#4E862C is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.136 H 135.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E862C
RGBrgb(78, 134, 44)
HSLhsl(97, 51%, 35%)
HSVhsv(97, 67%, 53%)
CMYKcmyk(41.8%, 0%, 67.2%, 47.5%)
CIE-LABlab(50.51, -35.02, 41.28)
CIE-LCHlch(50.51, 54.13, 130.31°)
OKLaboklab(56.16% -0.0973 0.0949)
OKLCHoklch(56.16% 0.136 135.7)
XYZxyz(12.1213, 18.8511, 5.3823)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E862C #642C86
analogous
#7B862C #4E862C #2C8637
triadic
#4E862C #2C4E86 #862C4E
tetradic
#4E862C #2C7B86 #642C86 #86372C
square
#4E862C #2C7B86 #642C86 #86372C
split-complementary
#4E862C #372C86 #862C7B
monochromatic
#182A0E #33581D #4E862C #69B43B #89CB61

Accessibility & contrast

On white

4.40
#4E862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4E862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E862C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E862C#FFFFFF#000000##000000
##4E862C1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B20
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e862c;
/* rgb */ color: rgb(78, 134, 44);
/* oklch */ color: oklch(56.2% 0.136 135.7);
Tailwind
colors: {
  custom: {
    50: '#84a96a',
    500: '#4e862c',
    950: '#000000',
  },
}
SCSS
$custom: #4e862c;
$custom-light: #84a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e862c",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 97.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.1359,
    "h": 135.7
  },
  "luminance": 0.18852
}

Semantic roles & 50–950 ramp

primary
#4E862C
secondary
#915CB1
accent
#4EDAA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E862C

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

Preview Lab → · Contrast checker → · Palette generator →

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