#4D8B16#4D8B16

#4D8B16 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.156 H 134.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4D8B16
RGBrgb(77, 139, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(44.6%, 0%, 84.2%, 45.5%)
CIE-LABlab(51.95, -39.04, 50.76)
CIE-LCHlch(51.95, 64.04, 127.56°)
OKLaboklab(57.28% -0.1096 0.1115)
OKLCHoklch(57.28% 0.156 134.5)
XYZxyz(12.4378, 20.1002, 3.9833)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8B16 #54168B
analogous
#888B16 #4D8B16 #168B1A
triadic
#4D8B16 #164D8B #8B164D
tetradic
#4D8B16 #16888B #54168B #8B1A16
square
#4D8B16 #16888B #54168B #8B1A16
split-complementary
#4D8B16 #1A168B #8B1688
monochromatic
#122105 #30560E #4D8B16 #6AC01E #89E03B

Accessibility & contrast

On white

4.18
#4D8B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4D8B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8B16
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8B16#FFFFFF#000000##000000
##4D8B161.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#4C8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d8b16;
/* rgb */ color: rgb(77, 139, 22);
/* oklch */ color: oklch(57.3% 0.156 134.5);
Tailwind
colors: {
  custom: {
    50: '#85ad5f',
    500: '#4d8b16',
    950: '#000000',
  },
}
SCSS
$custom: #4d8b16;
$custom-light: #85ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8b16",
  "rgb": {
    "r": 77,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 91.795,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.1564,
    "h": 134.5
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#4D8B16
secondary
#823EBF
accent
#38EF99
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8B16

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

Preview Lab → · Contrast checker → · Palette generator →

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