#4E8F18#4E8F18

#4E8F18 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.160 H 134.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8F18
RGBrgb(78, 143, 24)
HSLhsl(93, 71%, 33%)
HSVhsv(93, 83%, 56%)
CMYKcmyk(45.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.31, -40.28, 51.45)
CIE-LCHlch(53.31, 65.34, 128.06°)
OKLaboklab(58.41% -0.1129 0.1133)
OKLCHoklch(58.41% 0.16 134.9)
XYZxyz(13.1289, 21.3298, 4.2892)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F18 #59188F
analogous
#898F18 #4E8F18 #188F1E
triadic
#4E8F18 #184E8F #8F184E
tetradic
#4E8F18 #18898F #59188F #8F1E18
square
#4E8F18 #18898F #59188F #8F1E18
split-complementary
#4E8F18 #1E188F #8F1889
monochromatic
#152606 #315B0F #4E8F18 #6BC321 #89DF42

Accessibility & contrast

On white

3.99
#4E8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F18#FFFFFF#000000##000000
##4E8F181.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#4C897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8f18;
/* rgb */ color: rgb(78, 143, 24);
/* oklch */ color: oklch(58.4% 0.160 134.9);
Tailwind
colors: {
  custom: {
    50: '#86b061',
    500: '#4e8f18',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f18;
$custom-light: #86b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f18",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 92.773,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.15993,
    "h": 134.9
  },
  "luminance": 0.21331
}

Semantic roles & 50–950 ramp

primary
#4E8F18
secondary
#8743C0
accent
#3AEE9C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4E8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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