#4E881C#4E881C

#4E881C is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.149 H 134.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E881C
RGBrgb(78, 136, 28)
HSLhsl(92, 66%, 32%)
HSVhsv(92, 79%, 53%)
CMYKcmyk(42.6%, 0%, 79.4%, 46.7%)
CIE-LABlab(51.05, -37.09, 48.11)
CIE-LCHlch(51.05, 60.75, 127.64°)
OKLaboklab(56.56% -0.1041 0.1069)
OKLCHoklch(56.56% 0.149 134.2)
XYZxyz(12.1554, 19.3112, 4.1853)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E881C #561C88
analogous
#84881C #4E881C #1C8820
triadic
#4E881C #1C4E88 #881C4E
tetradic
#4E881C #1C8488 #561C88 #88201C
square
#4E881C #1C8488 #561C88 #88201C
split-complementary
#4E881C #201C88 #881C84
monochromatic
#142207 #315512 #4E881C #6BBB26 #8AD946

Accessibility & contrast

On white

4.32
#4E881C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E881C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E881C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E881C#FFFFFF#000000##000000
##4E881C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D00
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#4D8274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e881c;
/* rgb */ color: rgb(78, 136, 28);
/* oklch */ color: oklch(56.6% 0.149 134.2);
Tailwind
colors: {
  custom: {
    50: '#85ab62',
    500: '#4e881c',
    950: '#000000',
  },
}
SCSS
$custom: #4e881c;
$custom-light: #85ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e881c",
  "rgb": {
    "r": 78,
    "g": 136,
    "b": 28
  },
  "hsl": {
    "h": 92.222,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.14918,
    "h": 134.2
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#4E881C
secondary
#8445BA
accent
#3FE99A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E881C

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

Preview Lab → · Contrast checker → · Palette generator →

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