#4E8F1C#4E8F1C

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

Color values

HEX#4E8F1C
RGBrgb(78, 143, 28)
HSLhsl(94, 67%, 34%)
HSVhsv(94, 80%, 56%)
CMYKcmyk(45.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(53.33, -40.07, 50.26)
CIE-LCHlch(53.33, 64.28, 128.57°)
OKLaboklab(58.43% -0.1121 0.1114)
OKLCHoklch(58.43% 0.158 135.2)
XYZxyz(13.1736, 21.3477, 4.5247)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F1C #5D1C8F
analogous
#878F1C #4E8F1C #1C8F23
triadic
#4E8F1C #1C4E8F #8F1C4E
tetradic
#4E8F1C #1C878F #5D1C8F #8F231C
square
#4E8F1C #1C878F #5D1C8F #8F231C
split-complementary
#4E8F1C #231C8F #8F1C87
monochromatic
#162908 #325C12 #4E8F1C #6AC226 #89DC4A

Accessibility & contrast

On white

3.99
#4E8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8F1C#FFFFFF#000000##000000
##4E8F1C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8f1c;
/* rgb */ color: rgb(78, 143, 28);
/* oklch */ color: oklch(58.4% 0.158 135.2);
Tailwind
colors: {
  custom: {
    50: '#86b063',
    500: '#4e8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f1c;
$custom-light: #86b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f1c",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 93.913,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.15803,
    "h": 135.2
  },
  "luminance": 0.21348
}

Semantic roles & 50–950 ramp

primary
#4E8F1C
secondary
#8B49BE
accent
#3EEA9F
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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