#4E8D1C#4E8D1C

#4E8D1C is a mid, vivid yellow-green. Relative luminance 0.208; 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#4E8D1C
RGBrgb(78, 141, 28)
HSLhsl(93, 67%, 33%)
HSVhsv(93, 80%, 55%)
CMYKcmyk(44.7%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.68, -39.23, 49.64)
CIE-LCHlch(52.68, 63.27, 128.32°)
OKLaboklab(57.9% -0.1098 0.1101)
OKLCHoklch(57.9% 0.156 134.9)
XYZxyz(12.8761, 20.7525, 4.4256)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D1C #5B1C8D
analogous
#868D1C #4E8D1C #1C8D22
triadic
#4E8D1C #1C4E8D #8D1C4E
tetradic
#4E8D1C #1C868D #5B1C8D #8D221C
square
#4E8D1C #1C868D #5B1C8D #8D221C
split-complementary
#4E8D1C #221C8D #8D1C86
monochromatic
#162708 #325A12 #4E8D1C #6AC026 #89DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8D1C#FFFFFF#000000##000000
##4E8D1C1.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: #4e8d1c;
/* rgb */ color: rgb(78, 141, 28);
/* oklch */ color: oklch(57.9% 0.156 134.9);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4e8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d1c;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d1c",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 93.451,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.15552,
    "h": 134.9
  },
  "luminance": 0.20753
}

Semantic roles & 50–950 ramp

primary
#4E8D1C
secondary
#8948BD
accent
#3EEA9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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