#4E871E#4E871E

#4E871E is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.3% C 0.147 H 134.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E871E
RGBrgb(78, 135, 30)
HSLhsl(93, 64%, 32%)
HSVhsv(93, 78%, 53%)
CMYKcmyk(42.2%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.73, -36.54, 47.12)
CIE-LCHlch(50.73, 59.62, 127.79°)
OKLaboklab(56.31% -0.1025 0.1051)
OKLCHoklch(56.31% 0.147 134.3)
XYZxyz(12.0400, 19.0407, 4.2689)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E871E #571E87
analogous
#83871E #4E871E #1E8722
triadic
#4E871E #1E4E87 #871E4E
tetradic
#4E871E #1E8387 #571E87 #87221E
square
#4E871E #1E8387 #571E87 #87221E
split-complementary
#4E871E #221E87 #871E83
monochromatic
#142308 #315513 #4E871E #6BB929 #8AD749

Accessibility & contrast

On white

4.37
#4E871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E871E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E871E#FFFFFF#000000##000000
##4E871E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C06
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#4D8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e871e;
/* rgb */ color: rgb(78, 135, 30);
/* oklch */ color: oklch(56.3% 0.147 134.3);
Tailwind
colors: {
  custom: {
    50: '#85aa62',
    500: '#4e871e',
    950: '#000000',
  },
}
SCSS
$custom: #4e871e;
$custom-light: #85aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e871e",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 92.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.14679,
    "h": 134.3
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#4E871E
secondary
#8548B9
accent
#41E79B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4E871E

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

Preview Lab → · Contrast checker → · Palette generator →

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