#4D8A17#4D8A17

#4D8A17 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.0% C 0.155 H 134.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4D8A17
RGBrgb(77, 138, 23)
HSLhsl(92, 71%, 32%)
HSVhsv(92, 83%, 54%)
CMYKcmyk(44.2%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.63, -38.57, 50.19)
CIE-LCHlch(51.63, 63.30, 127.54°)
OKLaboklab(57.02% -0.1083 0.1105)
OKLCHoklch(57.02% 0.155 134.4)
XYZxyz(12.3035, 19.8159, 3.9870)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8A17 #54178A
analogous
#878A17 #4D8A17 #178A1A
triadic
#4D8A17 #174D8A #8A174D
tetradic
#4D8A17 #17878A #54178A #8A1A17
square
#4D8A17 #17878A #54178A #8A1A17
split-complementary
#4D8A17 #1A178A #8A1787
monochromatic
#122106 #30560E #4D8A17 #6ABE20 #89DF3D

Accessibility & contrast

On white

4.23
#4D8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4D8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8A17
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8A17#FFFFFF#000000##000000
##4D8A171.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#4C8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8a17;
/* rgb */ color: rgb(77, 138, 23);
/* oklch */ color: oklch(57.0% 0.155 134.4);
Tailwind
colors: {
  custom: {
    50: '#85ac60',
    500: '#4d8a17',
    950: '#000000',
  },
}
SCSS
$custom: #4d8a17;
$custom-light: #85ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8a17",
  "rgb": {
    "r": 77,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 91.826,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.15472,
    "h": 134.4
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#4D8A17
secondary
#823FBE
accent
#3AEE99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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