#4E8618#4E8618

#4E8618 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.149 H 133.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8618
RGBrgb(78, 134, 24)
HSLhsl(91, 70%, 31%)
HSVhsv(91, 82%, 53%)
CMYKcmyk(41.8%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.38, -36.45, 48.76)
CIE-LCHlch(50.38, 60.88, 126.78°)
OKLaboklab(56% -0.1026 0.1076)
OKLCHoklch(56% 0.149 133.6)
XYZxyz(11.8317, 18.7352, 3.8568)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8618 #501886
analogous
#858618 #4E8618 #188619
triadic
#4E8618 #184E86 #86184E
tetradic
#4E8618 #188586 #501886 #861918
square
#4E8618 #188586 #501886 #861918
split-complementary
#4E8618 #191886 #861885
monochromatic
#121E05 #30520F #4E8618 #6CBA21 #8BDC3C

Accessibility & contrast

On white

4.42
#4E8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8618
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8618#FFFFFF#000000##000000
##4E86181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#4E8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8618;
/* rgb */ color: rgb(78, 134, 24);
/* oklch */ color: oklch(56.0% 0.149 133.6);
Tailwind
colors: {
  custom: {
    50: '#85a95f',
    500: '#4e8618',
    950: '#000000',
  },
}
SCSS
$custom: #4e8618;
$custom-light: #85a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8618",
  "rgb": {
    "r": 78,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 90.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.1487,
    "h": 133.6
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#4E8618
secondary
#7E40BA
accent
#3BEC96
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4E8618

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

Preview Lab → · Contrast checker → · Palette generator →

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