#4E871C#4E871C

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

Color values

HEX#4E871C
RGBrgb(78, 135, 28)
HSLhsl(92, 66%, 32%)
HSVhsv(92, 79%, 53%)
CMYKcmyk(42.2%, 0%, 79.3%, 47.1%)
CIE-LABlab(50.72, -36.66, 47.80)
CIE-LCHlch(50.72, 60.24, 127.49°)
OKLaboklab(56.29% -0.1029 0.1062)
OKLCHoklch(56.29% 0.148 134.1)
XYZxyz(12.0152, 19.0309, 4.1386)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E871C #551C87
analogous
#84871C #4E871C #1C8720
triadic
#4E871C #1C4E87 #871C4E
tetradic
#4E871C #1C8487 #551C87 #87201C
square
#4E871C #1C8487 #551C87 #87201C
split-complementary
#4E871C #201C87 #871C84
monochromatic
#132207 #315411 #4E871C #6BBA27 #8AD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E871C#FFFFFF#000000##000000
##4E871C1.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)
#8C7C01
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#4D8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e871c;
/* rgb */ color: rgb(78, 135, 28);
/* oklch */ color: oklch(56.3% 0.148 134.1);
Tailwind
colors: {
  custom: {
    50: '#85aa61',
    500: '#4e871c',
    950: '#000000',
  },
}
SCSS
$custom: #4e871c;
$custom-light: #85aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e871c",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 91.963,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.14791,
    "h": 134.1
  },
  "luminance": 0.19031
}

Semantic roles & 50–950 ramp

primary
#4E871C
secondary
#8345BA
accent
#3FE999
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4E871C

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

Preview Lab → · Contrast checker → · Palette generator →

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