#4E8018#4E8018

#4E8018 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.141 H 132.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8018
RGBrgb(78, 128, 24)
HSLhsl(89, 68%, 30%)
HSVhsv(89, 81%, 50%)
CMYKcmyk(39.1%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.42, -33.80, 46.94)
CIE-LCHlch(48.42, 57.84, 125.76°)
OKLaboklab(54.4% -0.0955 0.1038)
OKLCHoklch(54.4% 0.141 132.6)
XYZxyz(11.0258, 17.1235, 3.5882)
Luminance0.1712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8018 #4A1880
analogous
#807E18 #4E8018 #1A8018
triadic
#4E8018 #184E80 #80184E
tetradic
#4E8018 #18807E #4A1880 #80181A
square
#4E8018 #18807E #4A1880 #80181A
split-complementary
#4E8018 #181A80 #7E1880
monochromatic
#101A05 #2F4C0E #4E8018 #6DB422 #8CDA39

Accessibility & contrast

On white

4.75
#4E8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8018
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8018#FFFFFF#000000##FFFFFF
##4E80181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#4F7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e8018;
/* rgb */ color: rgb(78, 128, 24);
/* oklch */ color: oklch(54.4% 0.141 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a55f',
    500: '#4e8018',
    950: '#000000',
  },
}
SCSS
$custom: #4e8018;
$custom-light: #84a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8018",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 88.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.14103,
    "h": 132.6
  },
  "luminance": 0.17124
}

Semantic roles & 50–950 ramp

primary
#4E8018
secondary
#7840B4
accent
#3DEB91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8018

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

Preview Lab → · Contrast checker → · Palette generator →

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