#4D8F17#4D8F17

#4D8F17 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.4% C 0.161 H 135.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D8F17
RGBrgb(77, 143, 23)
HSLhsl(93, 72%, 33%)
HSVhsv(93, 84%, 56%)
CMYKcmyk(46.2%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.26, -40.67, 51.67)
CIE-LCHlch(53.26, 65.75, 128.21°)
OKLaboklab(58.35% -0.1139 0.1136)
OKLCHoklch(58.35% 0.161 135.1)
XYZxyz(13.0374, 21.2838, 4.2317)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F17 #59178F
analogous
#898F17 #4D8F17 #178F1D
triadic
#4D8F17 #174D8F #8F174D
tetradic
#4D8F17 #17898F #59178F #8F1D17
square
#4D8F17 #17898F #59178F #8F1D17
split-complementary
#4D8F17 #1D178F #8F1789
monochromatic
#142606 #315A0F #4D8F17 #69C41F #88E040

Accessibility & contrast

On white

3.99
#4D8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F17
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F17#FFFFFF#000000##000000
##4D8F171.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#4B8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f17;
/* rgb */ color: rgb(77, 143, 23);
/* oklch */ color: oklch(58.4% 0.161 135.1);
Tailwind
colors: {
  custom: {
    50: '#86b060',
    500: '#4d8f17',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f17;
$custom-light: #86b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f17",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 93,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.16088,
    "h": 135.1
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#4D8F17
secondary
#8741C1
accent
#39EF9D
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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