#4E862F#4E862F

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

Color values

HEX#4E862F
RGBrgb(78, 134, 47)
HSLhsl(99, 48%, 35%)
HSVhsv(99, 65%, 53%)
CMYKcmyk(41.8%, 0%, 64.9%, 47.5%)
CIE-LABlab(50.54, -34.73, 39.95)
CIE-LCHlch(50.54, 52.94, 131.00°)
OKLaboklab(56.19% -0.0963 0.0925)
OKLCHoklch(56.19% 0.133 136.2)
XYZxyz(12.1798, 18.8745, 5.6901)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E862F #672F86
analogous
#79862F #4E862F #2F863C
triadic
#4E862F #2F4E86 #862F4E
tetradic
#4E862F #2F7986 #672F86 #863C2F
square
#4E862F #2F7986 #672F86 #863C2F
split-complementary
#4E862F #3C2F86 #862F79
monochromatic
#192B0F #34591F #4E862F #68B33F #89C966

Accessibility & contrast

On white

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

On black

4.78
#4E862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E862F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E862F#FFFFFF#000000##000000
##4E862F1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#4C8174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e862f;
/* rgb */ color: rgb(78, 134, 47);
/* oklch */ color: oklch(56.2% 0.133 136.2);
Tailwind
colors: {
  custom: {
    50: '#84a96b',
    500: '#4e862f',
    950: '#000000',
  },
}
SCSS
$custom: #4e862f;
$custom-light: #84a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e862f",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 98.621,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.13347,
    "h": 136.2
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#4E862F
secondary
#9460B0
accent
#50D8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4E862F

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

Preview Lab → · Contrast checker → · Palette generator →

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