#4E8E1F#4E8E1F

#4E8E1F is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.2% C 0.155 H 135.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8E1F
RGBrgb(78, 142, 31)
HSLhsl(95, 64%, 34%)
HSVhsv(95, 78%, 56%)
CMYKcmyk(45.1%, 0%, 78.2%, 44.3%)
CIE-LABlab(53.02, -39.47, 48.97)
CIE-LCHlch(53.02, 62.90, 128.87°)
OKLaboklab(58.18% -0.1103 0.1092)
OKLCHoklch(58.18% 0.155 135.3)
XYZxyz(13.0619, 21.0639, 4.6735)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E1F #5F1F8E
analogous
#868E1F #4E8E1F #1F8E28
triadic
#4E8E1F #1F4E8E #8E1F4E
tetradic
#4E8E1F #1F868E #5F1F8E #8E281F
square
#4E8E1F #1F868E #5F1F8E #8E281F
split-complementary
#4E8E1F #281F8E #8E1F86
monochromatic
#172A09 #325C14 #4E8E1F #6AC02A #89D94F

Accessibility & contrast

On white

4.03
#4E8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E1F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E1F#FFFFFF#000000##000000
##4E8E1F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938204
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e1f;
/* rgb */ color: rgb(78, 142, 31);
/* oklch */ color: oklch(58.2% 0.155 135.3);
Tailwind
colors: {
  custom: {
    50: '#86af64',
    500: '#4e8e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e1f;
$custom-light: #86af64;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e1f",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 94.595,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.15518,
    "h": 135.3
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#4E8E1F
secondary
#8D4DBB
accent
#41E7A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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