#4E871D#4E871D

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

Color values

HEX#4E871D
RGBrgb(78, 135, 29)
HSLhsl(92, 65%, 32%)
HSVhsv(92, 79%, 53%)
CMYKcmyk(42.2%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.73, -36.60, 47.46)
CIE-LCHlch(50.73, 59.93, 127.64°)
OKLaboklab(56.3% -0.1027 0.1057)
OKLCHoklch(56.3% 0.147 134.2)
XYZxyz(12.0274, 19.0357, 4.2027)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E871D #561D87
analogous
#83871D #4E871D #1D8721
triadic
#4E871D #1D4E87 #871D4E
tetradic
#4E871D #1D8387 #561D87 #87211D
square
#4E871D #1D8387 #561D87 #87211D
split-complementary
#4E871D #211D87 #871D83
monochromatic
#142207 #315512 #4E871D #6BB928 #8AD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4e871d;
/* rgb */ color: rgb(78, 135, 29);
/* oklch */ color: oklch(56.3% 0.147 134.2);
Tailwind
colors: {
  custom: {
    50: '#85aa62',
    500: '#4e871d',
    950: '#000000',
  },
}
SCSS
$custom: #4e871d;
$custom-light: #85aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e871d",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 92.264,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56301,
    "c": 0.14736,
    "h": 134.2
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

primary
#4E871D
secondary
#8446B9
accent
#40E89A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4E871D

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

Preview Lab → · Contrast checker → · Palette generator →

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