#4E8B18#4E8B18

#4E8B18 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.155 H 134.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E8B18
RGBrgb(78, 139, 24)
HSLhsl(92, 71%, 32%)
HSVhsv(92, 83%, 55%)
CMYKcmyk(43.9%, 0%, 82.7%, 45.5%)
CIE-LABlab(52.01, -38.60, 50.26)
CIE-LCHlch(52.01, 63.37, 127.52°)
OKLaboklab(57.34% -0.1084 0.1108)
OKLCHoklch(57.34% 0.155 134.4)
XYZxyz(12.5391, 20.1502, 4.0926)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8B18 #55188B
analogous
#888B18 #4E8B18 #188B1C
triadic
#4E8B18 #184E8B #8B184E
tetradic
#4E8B18 #18888B #55188B #8B1C18
square
#4E8B18 #18888B #55188B #8B1C18
split-complementary
#4E8B18 #1C188B #8B1888
monochromatic
#132306 #31570F #4E8B18 #6BBF21 #8ADE3F

Accessibility & contrast

On white

4.17
#4E8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4E8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8B18
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8B18#FFFFFF#000000##000000
##4E8B181.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#4D8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8b18;
/* rgb */ color: rgb(78, 139, 24);
/* oklch */ color: oklch(57.3% 0.155 134.4);
Tailwind
colors: {
  custom: {
    50: '#86ad60',
    500: '#4e8b18',
    950: '#000000',
  },
}
SCSS
$custom: #4e8b18;
$custom-light: #86ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8b18",
  "rgb": {
    "r": 78,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 91.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.15497,
    "h": 134.4
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#4E8B18
secondary
#8340BE
accent
#3AED99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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