#4E861F#4E861F

#4E861F is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.0% C 0.145 H 134.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E861F
RGBrgb(78, 134, 31)
HSLhsl(93, 62%, 32%)
HSVhsv(93, 77%, 53%)
CMYKcmyk(41.8%, 0%, 76.9%, 47.5%)
CIE-LABlab(50.41, -36.04, 46.45)
CIE-LCHlch(50.41, 58.79, 127.81°)
OKLaboklab(56.05% -0.101 0.1039)
OKLCHoklch(56.05% 0.145 134.2)
XYZxyz(11.9141, 18.7682, 4.2909)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E861F #571F86
analogous
#82861F #4E861F #1F8623
triadic
#4E861F #1F4E86 #861F4E
tetradic
#4E861F #1F8286 #571F86 #86231F
square
#4E861F #1F8286 #571F86 #86231F
split-complementary
#4E861F #231F86 #861F82
monochromatic
#142308 #315414 #4E861F #6BB82A #8AD54A

Accessibility & contrast

On white

4.42
#4E861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E861F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E861F#FFFFFF#000000##000000
##4E861F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#4D8172
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e861f;
/* rgb */ color: rgb(78, 134, 31);
/* oklch */ color: oklch(56.0% 0.145 134.2);
Tailwind
colors: {
  custom: {
    50: '#85a963',
    500: '#4e861f',
    950: '#000000',
  },
}
SCSS
$custom: #4e861f;
$custom-light: #85a963;
$custom-dark: #000000;
JSON
{
  "hex": "#4e861f",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 92.621,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.1449,
    "h": 134.2
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#4E861F
secondary
#8549B8
accent
#42E59B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E861F

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

Preview Lab → · Contrast checker → · Palette generator →

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