#4D8C17#4D8C17

#4D8C17 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.157 H 134.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4D8C17
RGBrgb(77, 140, 23)
HSLhsl(92, 72%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(45%, 0%, 83.6%, 45.1%)
CIE-LABlab(52.28, -39.42, 50.78)
CIE-LCHlch(52.28, 64.28, 127.82°)
OKLaboklab(57.55% -0.1106 0.1117)
OKLCHoklch(57.55% 0.157 134.7)
XYZxyz(12.5930, 20.3951, 4.0835)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8C17 #56178C
analogous
#888C17 #4D8C17 #178C1C
triadic
#4D8C17 #174D8C #8C174D
tetradic
#4D8C17 #17888C #56178C #8C1C17
square
#4D8C17 #17888C #56178C #8C1C17
split-complementary
#4D8C17 #1C178C #8C1788
monochromatic
#132306 #30570E #4D8C17 #6AC120 #88DF3E

Accessibility & contrast

On white

4.13
#4D8C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4D8C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8C17
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8C17#FFFFFF#000000##000000
##4D8C171.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#4C8677
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d8c17;
/* rgb */ color: rgb(77, 140, 23);
/* oklch */ color: oklch(57.6% 0.157 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ae60',
    500: '#4d8c17',
    950: '#000000',
  },
}
SCSS
$custom: #4d8c17;
$custom-light: #85ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8c17",
  "rgb": {
    "r": 77,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 92.308,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57551,
    "c": 0.1572,
    "h": 134.7
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#4D8C17
secondary
#843FBF
accent
#39EF9B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8C17

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

Preview Lab → · Contrast checker → · Palette generator →

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