#4E8C1C#4E8C1C

#4E8C1C is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.6% C 0.154 H 134.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E8C1C
RGBrgb(78, 140, 28)
HSLhsl(93, 67%, 33%)
HSVhsv(93, 80%, 55%)
CMYKcmyk(44.3%, 0%, 80%, 45.1%)
CIE-LABlab(52.35, -38.81, 49.34)
CIE-LCHlch(52.35, 62.77, 128.19°)
OKLaboklab(57.63% -0.1087 0.1095)
OKLCHoklch(57.63% 0.154 134.8)
XYZxyz(12.7293, 20.4590, 4.3766)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C1C #5A1C8C
analogous
#868C1C #4E8C1C #1C8C22
triadic
#4E8C1C #1C4E8C #8C1C4E
tetradic
#4E8C1C #1C868C #5A1C8C #8C221C
square
#4E8C1C #1C868C #5A1C8C #8C221C
split-complementary
#4E8C1C #221C8C #8C1C86
monochromatic
#152608 #325912 #4E8C1C #6ABF26 #89DA48

Accessibility & contrast

On white

4.12
#4E8C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E8C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C1C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C1C#FFFFFF#000000##000000
##4E8C1C1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c1c;
/* rgb */ color: rgb(78, 140, 28);
/* oklch */ color: oklch(57.6% 0.154 134.8);
Tailwind
colors: {
  custom: {
    50: '#86ae62',
    500: '#4e8c1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c1c;
$custom-light: #86ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c1c",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 93.214,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.15426,
    "h": 134.8
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

primary
#4E8C1C
secondary
#8848BC
accent
#3EEA9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4E8C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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