#4D8719#4D8719

#4D8719 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.2% C 0.150 H 134.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D8719
RGBrgb(77, 135, 25)
HSLhsl(92, 69%, 31%)
HSVhsv(92, 81%, 53%)
CMYKcmyk(43%, 0%, 81.5%, 47.1%)
CIE-LABlab(50.66, -37.19, 48.69)
CIE-LCHlch(50.66, 61.27, 127.37°)
OKLaboklab(56.22% -0.1045 0.1077)
OKLCHoklch(56.22% 0.15 134.1)
XYZxyz(11.8998, 18.9753, 3.9551)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8719 #531987
analogous
#848719 #4D8719 #19871C
triadic
#4D8719 #194D87 #87194D
tetradic
#4D8719 #198487 #531987 #871C19
square
#4D8719 #198487 #531987 #871C19
split-complementary
#4D8719 #1C1987 #871984
monochromatic
#122006 #30530F #4D8719 #6ABB23 #89DB3F

Accessibility & contrast

On white

4.38
#4D8719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8719
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8719#FFFFFF#000000##000000
##4D87191.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#4C8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d8719;
/* rgb */ color: rgb(77, 135, 25);
/* oklch */ color: oklch(56.2% 0.150 134.1);
Tailwind
colors: {
  custom: {
    50: '#84aa60',
    500: '#4d8719',
    950: '#000000',
  },
}
SCSS
$custom: #4d8719;
$custom-light: #84aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8719",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 91.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.15001,
    "h": 134.1
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#4D8719
secondary
#8141BA
accent
#3CEC99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4D8719

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

Preview Lab → · Contrast checker → · Palette generator →

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