#4E8D1D#4E8D1D

#4E8D1D is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.155 H 135.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8D1D
RGBrgb(78, 141, 29)
HSLhsl(94, 66%, 33%)
HSVhsv(94, 79%, 55%)
CMYKcmyk(44.7%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.68, -39.17, 49.32)
CIE-LCHlch(52.68, 62.99, 128.46°)
OKLaboklab(57.9% -0.1096 0.1096)
OKLCHoklch(57.9% 0.155 135)
XYZxyz(12.8882, 20.7574, 4.4896)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D1D #5C1D8D
analogous
#868D1D #4E8D1D #1D8D24
triadic
#4E8D1D #1D4E8D #8D1D4E
tetradic
#4E8D1D #1D868D #5C1D8D #8D241D
square
#4E8D1D #1D868D #5C1D8D #8D241D
split-complementary
#4E8D1D #241D8D #8D1D86
monochromatic
#162708 #325A13 #4E8D1D #6AC027 #89DA4B

Accessibility & contrast

On white

4.08
#4E8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D1D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D1D#FFFFFF#000000##000000
##4E8D1D1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#4C8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d1d;
/* rgb */ color: rgb(78, 141, 29);
/* oklch */ color: oklch(57.9% 0.155 135.0);
Tailwind
colors: {
  custom: {
    50: '#86af63',
    500: '#4e8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d1d;
$custom-light: #86af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d1d",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 93.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.155,
    "h": 135
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#4E8D1D
secondary
#8A4ABC
accent
#3FE99F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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