#4E8C14#4E8C14

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

Color values

HEX#4E8C14
RGBrgb(78, 140, 20)
HSLhsl(91, 75%, 31%)
HSVhsv(91, 86%, 55%)
CMYKcmyk(44.3%, 0%, 85.7%, 45.1%)
CIE-LABlab(52.32, -39.21, 51.64)
CIE-LCHlch(52.32, 64.84, 127.20°)
OKLaboklab(57.59% -0.1102 0.1131)
OKLCHoklch(57.59% 0.158 134.3)
XYZxyz(12.6460, 20.4257, 3.9379)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C14 #52148C
analogous
#8A8C14 #4E8C14 #148C16
triadic
#4E8C14 #144E8C #8C144E
tetradic
#4E8C14 #148A8C #52148C #8C1614
square
#4E8C14 #148A8C #52148C #8C1614
split-complementary
#4E8C14 #16148C #8C148A
monochromatic
#122105 #30560C #4E8C14 #6CC21C #8AE338

Accessibility & contrast

On white

4.13
#4E8C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8C14#FFFFFF#000000##000000
##4E8C141.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8c14;
/* rgb */ color: rgb(78, 140, 20);
/* oklch */ color: oklch(57.6% 0.158 134.3);
Tailwind
colors: {
  custom: {
    50: '#86ae5f',
    500: '#4e8c14',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c14;
$custom-light: #86ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c14",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 91,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.15792,
    "h": 134.3
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#4E8C14
secondary
#803CC0
accent
#36F297
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8C14

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

Preview Lab → · Contrast checker → · Palette generator →

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