#4E8E1C#4E8E1C

#4E8E1C is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.157 H 135.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8E1C
RGBrgb(78, 142, 28)
HSLhsl(94, 67%, 33%)
HSVhsv(94, 80%, 56%)
CMYKcmyk(45.1%, 0%, 80.3%, 44.3%)
CIE-LABlab(53.00, -39.65, 49.95)
CIE-LCHlch(53.00, 63.78, 128.44°)
OKLaboklab(58.16% -0.111 0.1107)
OKLCHoklch(58.16% 0.157 135.1)
XYZxyz(13.0242, 21.0488, 4.4749)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E1C #5C1C8E
analogous
#878E1C #4E8E1C #1C8E23
triadic
#4E8E1C #1C4E8E #8E1C4E
tetradic
#4E8E1C #1C878E #5C1C8E #8E231C
square
#4E8E1C #1C878E #5C1C8E #8E231C
split-complementary
#4E8E1C #231C8E #8E1C87
monochromatic
#162808 #325B12 #4E8E1C #6AC126 #89DB49

Accessibility & contrast

On white

4.03
#4E8E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E1C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E1C#FFFFFF#000000##000000
##4E8E1C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#4C8879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e1c;
/* rgb */ color: rgb(78, 142, 28);
/* oklch */ color: oklch(58.2% 0.157 135.1);
Tailwind
colors: {
  custom: {
    50: '#86af62',
    500: '#4e8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e1c;
$custom-light: #86af62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e1c",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 93.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.15677,
    "h": 135.1
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#4E8E1C
secondary
#8A49BD
accent
#3EEA9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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