#4E862D#4E862D

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

Color values

HEX#4E862D
RGBrgb(78, 134, 45)
HSLhsl(98, 50%, 35%)
HSVhsv(98, 66%, 53%)
CMYKcmyk(41.8%, 0%, 66.4%, 47.5%)
CIE-LABlab(50.52, -34.92, 40.84)
CIE-LCHlch(50.52, 53.74, 130.54°)
OKLaboklab(56.17% -0.0969 0.0941)
OKLCHoklch(56.17% 0.135 135.8)
XYZxyz(12.1403, 18.8587, 5.4825)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E862D #652D86
analogous
#7A862D #4E862D #2D8639
triadic
#4E862D #2D4E86 #862D4E
tetradic
#4E862D #2D7A86 #652D86 #86392D
square
#4E862D #2D7A86 #652D86 #86392D
split-complementary
#4E862D #392D86 #862D7A
monochromatic
#192A0E #33581E #4E862D #69B43C #89CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E862D#FFFFFF#000000##000000
##4E862D1.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)
#8B7B22
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#4C8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e862d;
/* rgb */ color: rgb(78, 134, 45);
/* oklch */ color: oklch(56.2% 0.135 135.8);
Tailwind
colors: {
  custom: {
    50: '#84a96a',
    500: '#4e862d',
    950: '#000000',
  },
}
SCSS
$custom: #4e862d;
$custom-light: #84a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e862d",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 97.753,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56169,
    "c": 0.13509,
    "h": 135.8
  },
  "luminance": 0.18859
}

Semantic roles & 50–950 ramp

primary
#4E862D
secondary
#925EB1
accent
#4FD9A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E862D

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

Preview Lab → · Contrast checker → · Palette generator →

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