#4D8C16#4D8C16

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

Color values

HEX#4D8C16
RGBrgb(77, 140, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(45%, 0%, 84.3%, 45.1%)
CIE-LABlab(52.28, -39.46, 51.06)
CIE-LCHlch(52.28, 64.53, 127.70°)
OKLaboklab(57.55% -0.1108 0.1122)
OKLCHoklch(57.55% 0.158 134.6)
XYZxyz(12.5832, 20.3911, 4.0317)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8C16 #55168C
analogous
#888C16 #4D8C16 #168C1A
triadic
#4D8C16 #164D8C #8C164D
tetradic
#4D8C16 #16888C #55168C #8C1A16
square
#4D8C16 #16888C #55168C #8C1A16
split-complementary
#4D8C16 #1A168C #8C1688
monochromatic
#132205 #30570E #4D8C16 #6AC11E #89E03C

Accessibility & contrast

On white

4.14
#4D8C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8C16#FFFFFF#000000##000000
##4D8C161.004.145.085.08
#FFFFFF4.141.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: #4d8c16;
/* rgb */ color: rgb(77, 140, 22);
/* oklch */ color: oklch(57.5% 0.158 134.6);
Tailwind
colors: {
  custom: {
    50: '#85ae60',
    500: '#4d8c16',
    950: '#000000',
  },
}
SCSS
$custom: #4d8c16;
$custom-light: #85ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8c16",
  "rgb": {
    "r": 77,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 92.034,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.15764,
    "h": 134.6
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#4D8C16
secondary
#833EC0
accent
#38F09A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8C16

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

Preview Lab → · Contrast checker → · Palette generator →

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