#4E8C1D#4E8C1D

#4E8C1D is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.154 H 134.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E8C1D
RGBrgb(78, 140, 29)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(44.3%, 0%, 79.3%, 45.1%)
CIE-LABlab(52.36, -38.75, 49.01)
CIE-LCHlch(52.36, 62.48, 128.33°)
OKLaboklab(57.64% -0.1085 0.1089)
OKLCHoklch(57.64% 0.154 134.9)
XYZxyz(12.7415, 20.4638, 4.4407)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C1D #5B1D8C
analogous
#858C1D #4E8C1D #1D8C24
triadic
#4E8C1D #1D4E8C #8C1D4E
tetradic
#4E8C1D #1D858C #5B1D8C #8C241D
square
#4E8C1D #1D858C #5B1D8C #8C241D
split-complementary
#4E8C1D #241D8C #8C1D85
monochromatic
#162708 #325912 #4E8C1D #6ABF28 #89D94A

Accessibility & contrast

On white

4.12
#4E8C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E8C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C1D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C1D#FFFFFF#000000##000000
##4E8C1D1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c1d;
/* rgb */ color: rgb(78, 140, 29);
/* oklch */ color: oklch(57.6% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#86ae63',
    500: '#4e8c1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c1d;
$custom-light: #86ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c1d",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 93.514,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.15373,
    "h": 134.9
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#4E8C1D
secondary
#8949BC
accent
#3FE99E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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