#4E8C1A#4E8C1A

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

Color values

HEX#4E8C1A
RGBrgb(78, 140, 26)
HSLhsl(93, 69%, 33%)
HSVhsv(93, 81%, 55%)
CMYKcmyk(44.3%, 0%, 81.4%, 45.1%)
CIE-LABlab(52.34, -38.92, 49.96)
CIE-LCHlch(52.34, 63.33, 127.92°)
OKLaboklab(57.62% -0.1091 0.1105)
OKLCHoklch(57.62% 0.155 134.7)
XYZxyz(12.7062, 20.4497, 4.2548)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C1A #581A8C
analogous
#878C1A #4E8C1A #1A8C1F
triadic
#4E8C1A #1A4E8C #8C1A4E
tetradic
#4E8C1A #1A878C #581A8C #8C1F1A
square
#4E8C1A #1A878C #581A8C #8C1F1A
split-complementary
#4E8C1A #1F1A8C #8C1A87
monochromatic
#142507 #315810 #4E8C1A #6BC024 #8ADC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E8C1A#FFFFFF#000000##000000
##4E8C1A1.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)
#897B27
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e8c1a;
/* rgb */ color: rgb(78, 140, 26);
/* oklch */ color: oklch(57.6% 0.155 134.7);
Tailwind
colors: {
  custom: {
    50: '#86ae61',
    500: '#4e8c1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c1a;
$custom-light: #86ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c1a",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 92.632,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.15527,
    "h": 134.7
  },
  "luminance": 0.2045
}

Semantic roles & 50–950 ramp

primary
#4E8C1A
secondary
#8644BE
accent
#3CEC9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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