#4E8E1E#4E8E1E

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

Color values

HEX#4E8E1E
RGBrgb(78, 142, 30)
HSLhsl(94, 65%, 34%)
HSVhsv(94, 79%, 56%)
CMYKcmyk(45.1%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.01, -39.53, 49.31)
CIE-LCHlch(53.01, 63.20, 128.72°)
OKLaboklab(58.18% -0.1105 0.1097)
OKLCHoklch(58.18% 0.156 135.2)
XYZxyz(13.0489, 21.0587, 4.6052)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E1E #5E1E8E
analogous
#868E1E #4E8E1E #1E8E26
triadic
#4E8E1E #1E4E8E #8E1E4E
tetradic
#4E8E1E #1E868E #5E1E8E #8E261E
square
#4E8E1E #1E868E #5E1E8E #8E261E
split-complementary
#4E8E1E #261E8E #8E1E86
monochromatic
#162909 #325B13 #4E8E1E #6AC129 #89D94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8E1E#FFFFFF#000000##000000
##4E8E1E1.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)
#938201
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e1e;
/* rgb */ color: rgb(78, 142, 30);
/* oklch */ color: oklch(58.2% 0.156 135.2);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4e8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e1e;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e1e",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.15573,
    "h": 135.2
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

primary
#4E8E1E
secondary
#8C4CBC
accent
#40E8A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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