#4D8019#4D8019

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

Color values

HEX#4D8019
RGBrgb(77, 128, 25)
HSLhsl(90, 67%, 30%)
HSVhsv(90, 80%, 50%)
CMYKcmyk(39.8%, 0%, 80.5%, 49.8%)
CIE-LABlab(48.37, -34.12, 46.55)
CIE-LCHlch(48.37, 57.71, 126.24°)
OKLaboklab(54.35% -0.0962 0.1032)
OKLCHoklch(54.35% 0.141 133)
XYZxyz(10.9550, 17.0858, 3.6402)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8019 #4C1980
analogous
#808019 #4D8019 #198019
triadic
#4D8019 #194D80 #80194D
tetradic
#4D8019 #198080 #4C1980 #801919
square
#4D8019 #198080 #4C1980 #801919
split-complementary
#4D8019 #191980 #801980
monochromatic
#0F1A05 #2E4D0F #4D8019 #6CB323 #8AD93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8019#FFFFFF#000000##FFFFFF
##4D80191.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)
#7F7124
Tritanopia (blue-blind)
#4D7B6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d8019;
/* rgb */ color: rgb(77, 128, 25);
/* oklch */ color: oklch(54.3% 0.141 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a55f',
    500: '#4d8019',
    950: '#000000',
  },
}
SCSS
$custom: #4d8019;
$custom-light: #84a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8019",
  "rgb": {
    "r": 77,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 89.709,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.14105,
    "h": 133
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#4D8019
secondary
#7A41B4
accent
#3EEA93
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D8019

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

Preview Lab → · Contrast checker → · Palette generator →

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