#4E8019#4E8019

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

Color values

HEX#4E8019
RGBrgb(78, 128, 25)
HSLhsl(89, 67%, 30%)
HSVhsv(89, 80%, 50%)
CMYKcmyk(39.1%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.42, -33.74, 46.62)
CIE-LCHlch(48.42, 57.55, 125.90°)
OKLaboklab(54.41% -0.0953 0.1033)
OKLCHoklch(54.41% 0.141 132.7)
XYZxyz(11.0364, 17.1277, 3.6440)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8019 #4B1980
analogous
#807E19 #4E8019 #1B8019
triadic
#4E8019 #194E80 #80194E
tetradic
#4E8019 #19807E #4B1980 #80191B
square
#4E8019 #19807E #4B1980 #80191B
split-complementary
#4E8019 #191B80 #7E1980
monochromatic
#101A05 #2F4D0F #4E8019 #6DB323 #8CD93B

Accessibility & contrast

On white

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

On black

4.43
#4E8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E8019#FFFFFF#000000##FFFFFF
##4E80191.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e8019;
/* rgb */ color: rgb(78, 128, 25);
/* oklch */ color: oklch(54.4% 0.141 132.7);
Tailwind
colors: {
  custom: {
    50: '#84a55f',
    500: '#4e8019',
    950: '#000000',
  },
}
SCSS
$custom: #4e8019;
$custom-light: #84a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8019",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 89.126,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.1405,
    "h": 132.7
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#4E8019
secondary
#7941B4
accent
#3EEA91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E8019

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

Preview Lab → · Contrast checker → · Palette generator →

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