#4E8F1D#4E8F1D

#4E8F1D is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.4% C 0.158 H 135.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F1D
RGBrgb(78, 143, 29)
HSLhsl(94, 66%, 34%)
HSVhsv(94, 80%, 56%)
CMYKcmyk(45.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.33, -40.01, 49.94)
CIE-LCHlch(53.33, 63.99, 128.70°)
OKLaboklab(58.44% -0.1119 0.1109)
OKLCHoklch(58.44% 0.158 135.3)
XYZxyz(13.1858, 21.3525, 4.5888)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F1D #5E1D8F
analogous
#878F1D #4E8F1D #1D8F25
triadic
#4E8F1D #1D4E8F #8F1D4E
tetradic
#4E8F1D #1D878F #5E1D8F #8F251D
square
#4E8F1D #1D878F #5E1D8F #8F251D
split-complementary
#4E8F1D #251D8F #8F1D87
monochromatic
#162908 #325C13 #4E8F1D #6AC227 #89DB4C

Accessibility & contrast

On white

3.98
#4E8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F1D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F1D#FFFFFF#000000##000000
##4E8F1D1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f1d;
/* rgb */ color: rgb(78, 143, 29);
/* oklch */ color: oklch(58.4% 0.158 135.3);
Tailwind
colors: {
  custom: {
    50: '#86b063',
    500: '#4e8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f1d;
$custom-light: #86b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f1d",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 94.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.15751,
    "h": 135.3
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#4E8F1D
secondary
#8C4BBD
accent
#3FE9A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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