#4E8D1B#4E8D1B

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

Color values

HEX#4E8D1B
RGBrgb(78, 141, 27)
HSLhsl(93, 68%, 33%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(44.7%, 0%, 80.9%, 44.7%)
CIE-LABlab(52.67, -39.29, 49.96)
CIE-LCHlch(52.67, 63.55, 128.18°)
OKLaboklab(57.89% -0.1101 0.1106)
OKLCHoklch(57.89% 0.156 134.9)
XYZxyz(12.8643, 20.7478, 4.3636)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D1B #5A1B8D
analogous
#878D1B #4E8D1B #1B8D21
triadic
#4E8D1B #1B4E8D #8D1B4E
tetradic
#4E8D1B #1B878D #5A1B8D #8D211B
square
#4E8D1B #1B878D #5A1B8D #8D211B
split-complementary
#4E8D1B #211B8D #8D1B87
monochromatic
#152607 #325A11 #4E8D1B #6AC025 #89DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8D1B#FFFFFF#000000##000000
##4E8D1B1.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)
#938100
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#4D8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d1b;
/* rgb */ color: rgb(78, 141, 27);
/* oklch */ color: oklch(57.9% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4e8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d1b;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d1b",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 93.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.15603,
    "h": 134.9
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#4E8D1B
secondary
#8846BD
accent
#3DEB9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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