#4D8D16#4D8D16

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

Color values

HEX#4D8D16
RGBrgb(77, 141, 22)
HSLhsl(92, 73%, 32%)
HSVhsv(92, 84%, 55%)
CMYKcmyk(45.4%, 0%, 84.4%, 44.7%)
CIE-LABlab(52.60, -39.88, 51.35)
CIE-LCHlch(52.60, 65.02, 127.84°)
OKLaboklab(57.81% -0.1119 0.1128)
OKLCHoklch(57.81% 0.159 134.8)
XYZxyz(12.7300, 20.6847, 4.0807)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8D16 #56168D
analogous
#898D16 #4D8D16 #168D1B
triadic
#4D8D16 #164D8D #8D164D
tetradic
#4D8D16 #16898D #56168D #8D1B16
square
#4D8D16 #16898D #56168D #8D1B16
split-complementary
#4D8D16 #1B168D #8D1689
monochromatic
#132305 #30580E #4D8D16 #6AC21E #88E13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D8D16#FFFFFF#000000##000000
##4D8D161.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: #4d8d16;
/* rgb */ color: rgb(77, 141, 22);
/* oklch */ color: oklch(57.8% 0.159 134.8);
Tailwind
colors: {
  custom: {
    50: '#85af60',
    500: '#4d8d16',
    950: '#000000',
  },
}
SCSS
$custom: #4d8d16;
$custom-light: #85af60;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8d16",
  "rgb": {
    "r": 77,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 92.269,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.15886,
    "h": 134.8
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#4D8D16
secondary
#843EC1
accent
#38F09B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4D8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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