#4D6916#4D6916

#4D6916 is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.112 H 126.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D6916
RGBrgb(77, 105, 22)
HSLhsl(80, 65%, 25%)
HSVhsv(80, 79%, 41%)
CMYKcmyk(26.7%, 0%, 79%, 58.8%)
CIE-LABlab(40.80, -23.37, 40.41)
CIE-LCHlch(40.80, 46.68, 120.05°)
OKLaboklab(48.17% -0.0673 0.0898)
OKLCHoklch(48.17% 0.112 126.9)
XYZxyz(8.2570, 11.7387, 2.5897)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6916 #321669
analogous
#695C16 #4D6916 #246916
triadic
#4D6916 #164D69 #69164D
tetradic
#4D6916 #16695C #321669 #691624
square
#4D6916 #16695C #321669 #691624
split-complementary
#4D6916 #162469 #5C1669
monochromatic
#131905 #28360B #4D6916 #729C21 #97CE2B

Accessibility & contrast

On white

6.27
#4D6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6916
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6916#FFFFFF#000000##FFFFFF
##4D69161.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6104
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#506459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d6916;
/* rgb */ color: rgb(77, 105, 22);
/* oklch */ color: oklch(48.2% 0.112 126.9);
Tailwind
colors: {
  custom: {
    50: '#82945a',
    500: '#4d6916',
    950: '#000000',
  },
}
SCSS
$custom: #4d6916;
$custom-light: #82945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6916",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 80.241,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.11221,
    "h": 126.9
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#4D6916
secondary
#5D3B9F
accent
#3FE878
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6916

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

Preview Lab → · Contrast checker → · Palette generator →

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