#4D8F16#4D8F16

#4D8F16 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.3% C 0.161 H 135.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4D8F16
RGBrgb(77, 143, 22)
HSLhsl(93, 73%, 32%)
HSVhsv(93, 85%, 56%)
CMYKcmyk(46.2%, 0%, 84.6%, 43.9%)
CIE-LABlab(53.25, -40.71, 51.94)
CIE-LCHlch(53.25, 65.99, 128.09°)
OKLaboklab(58.35% -0.1141 0.114)
OKLCHoklch(58.35% 0.161 135)
XYZxyz(13.0276, 21.2798, 4.1799)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8F16 #58168F
analogous
#8A8F16 #4D8F16 #168F1B
triadic
#4D8F16 #164D8F #8F164D
tetradic
#4D8F16 #168A8F #58168F #8F1B16
square
#4D8F16 #168A8F #58168F #8F1B16
split-complementary
#4D8F16 #1B168F #8F168A
monochromatic
#142506 #305A0E #4D8F16 #6AC41E #88E13E

Accessibility & contrast

On white

4.00
#4D8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4D8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8F16
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8F16#FFFFFF#000000##000000
##4D8F161.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#4B8979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d8f16;
/* rgb */ color: rgb(77, 143, 22);
/* oklch */ color: oklch(58.3% 0.161 135.0);
Tailwind
colors: {
  custom: {
    50: '#86b060',
    500: '#4d8f16',
    950: '#000000',
  },
}
SCSS
$custom: #4d8f16;
$custom-light: #86b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8f16",
  "rgb": {
    "r": 77,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 92.727,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.16131,
    "h": 135
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#4D8F16
secondary
#863FC1
accent
#38F09C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4D8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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