#4E862A#4E862A

#4E862A is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.137 H 135.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4E862A
RGBrgb(78, 134, 42)
HSLhsl(97, 52%, 35%)
HSVhsv(97, 69%, 53%)
CMYKcmyk(41.8%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.50, -35.20, 42.14)
CIE-LCHlch(50.50, 54.90, 129.87°)
OKLaboklab(56.14% -0.0979 0.0964)
OKLCHoklch(56.14% 0.137 135.4)
XYZxyz(12.0846, 18.8364, 5.1891)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E862A #622A86
analogous
#7C862A #4E862A #2A8634
triadic
#4E862A #2A4E86 #862A4E
tetradic
#4E862A #2A7C86 #622A86 #86342A
square
#4E862A #2A7C86 #622A86 #86342A
split-complementary
#4E862A #342A86 #862A7C
monochromatic
#18290D #33571B #4E862A #69B539 #89CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E862A#FFFFFF#000000##000000
##4E862A1.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)
#8B7B1D
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e862a;
/* rgb */ color: rgb(78, 134, 42);
/* oklch */ color: oklch(56.1% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#84a968',
    500: '#4e862a',
    950: '#000000',
  },
}
SCSS
$custom: #4e862a;
$custom-light: #84a968;
$custom-dark: #000000;
JSON
{
  "hex": "#4e862a",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 96.522,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.13744,
    "h": 135.4
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#4E862A
secondary
#905AB2
accent
#4CDCA4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E862A

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

Preview Lab → · Contrast checker → · Palette generator →

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