#4E871F#4E871F

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

Color values

HEX#4E871F
RGBrgb(78, 135, 31)
HSLhsl(93, 63%, 33%)
HSVhsv(93, 77%, 53%)
CMYKcmyk(42.2%, 0%, 77%, 47.1%)
CIE-LABlab(50.74, -36.48, 46.77)
CIE-LCHlch(50.74, 59.31, 127.95°)
OKLaboklab(56.32% -0.1022 0.1045)
OKLCHoklch(56.32% 0.146 134.4)
XYZxyz(12.0529, 19.0459, 4.3372)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E871F #581F87
analogous
#82871F #4E871F #1F8724
triadic
#4E871F #1F4E87 #871F4E
tetradic
#4E871F #1F8287 #581F87 #87241F
square
#4E871F #1F8287 #581F87 #87241F
split-complementary
#4E871F #241F87 #871F82
monochromatic
#142308 #315514 #4E871F #6BB92A #8AD64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E871F#FFFFFF#000000##000000
##4E871F1.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)
#8C7C08
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#4D8273
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e871f;
/* rgb */ color: rgb(78, 135, 31);
/* oklch */ color: oklch(56.3% 0.146 134.4);
Tailwind
colors: {
  custom: {
    50: '#85aa63',
    500: '#4e871f',
    950: '#000000',
  },
}
SCSS
$custom: #4e871f;
$custom-light: #85aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e871f",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 92.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.1462,
    "h": 134.4
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

primary
#4E871F
secondary
#864AB8
accent
#42E69C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4E871F

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

Preview Lab → · Contrast checker → · Palette generator →

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