#4D8D17#4D8D17

#4D8D17 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.8% C 0.158 H 134.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D8D17
RGBrgb(77, 141, 23)
HSLhsl(93, 72%, 32%)
HSVhsv(93, 84%, 55%)
CMYKcmyk(45.4%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.61, -39.83, 51.08)
CIE-LCHlch(52.61, 64.77, 127.95°)
OKLaboklab(57.82% -0.1117 0.1124)
OKLCHoklch(57.82% 0.158 134.8)
XYZxyz(12.7398, 20.6886, 4.1325)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D17 #57178D
analogous
#888D17 #4D8D17 #178D1C
triadic
#4D8D17 #174D8D #8D174D
tetradic
#4D8D17 #17888D #57178D #8D1C17
square
#4D8D17 #17888D #57178D #8D1C17
split-complementary
#4D8D17 #1C178D #8D1788
monochromatic
#142406 #30580E #4D8D17 #6AC220 #88E03F

Accessibility & contrast

On white

4.09
#4D8D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D8D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8D17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8D17#FFFFFF#000000##000000
##4D8D171.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#4B8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d8d17;
/* rgb */ color: rgb(77, 141, 23);
/* oklch */ color: oklch(57.8% 0.158 134.8);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4d8d17',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d17;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d17",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 92.542,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.15843,
    "h": 134.8
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#4D8D17
secondary
#8540C0
accent
#39EF9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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