#4E8D1A#4E8D1A

#4E8D1A is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.157 H 134.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8D1A
RGBrgb(78, 141, 26)
HSLhsl(93, 69%, 33%)
HSVhsv(93, 82%, 55%)
CMYKcmyk(44.7%, 0%, 81.6%, 44.7%)
CIE-LABlab(52.67, -39.34, 50.26)
CIE-LCHlch(52.67, 63.83, 128.05°)
OKLaboklab(57.89% -0.1103 0.1111)
OKLCHoklch(57.89% 0.157 134.8)
XYZxyz(12.8529, 20.7433, 4.3037)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D1A #591A8D
analogous
#878D1A #4E8D1A #1A8D20
triadic
#4E8D1A #1A4E8D #8D1A4E
tetradic
#4E8D1A #1A878D #591A8D #8D201A
square
#4E8D1A #1A878D #591A8D #8D201A
split-complementary
#4E8D1A #201A8D #8D1A87
monochromatic
#152607 #315910 #4E8D1A #6BC124 #89DD45

Accessibility & contrast

On white

4.08
#4E8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D1A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D1A#FFFFFF#000000##000000
##4E8D1A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#4D8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d1a;
/* rgb */ color: rgb(78, 141, 26);
/* oklch */ color: oklch(57.9% 0.157 134.8);
Tailwind
colors: {
  custom: {
    50: '#86af61',
    500: '#4e8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d1a;
$custom-light: #86af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d1a",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 92.87,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.15651,
    "h": 134.8
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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