#4D6D16#4D6D16

#4D6D16 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.118 H 128.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4D6D16
RGBrgb(77, 109, 22)
HSLhsl(82, 66%, 26%)
HSVhsv(82, 80%, 43%)
CMYKcmyk(29.4%, 0%, 79.8%, 57.3%)
CIE-LABlab(42.11, -25.37, 41.67)
CIE-LCHlch(42.11, 48.78, 121.34°)
OKLaboklab(49.24% -0.0728 0.0924)
OKLCHoklch(49.24% 0.118 128.2)
XYZxyz(8.6740, 12.5728, 2.7287)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6D16 #36166D
analogous
#6D6116 #4D6D16 #216D16
triadic
#4D6D16 #164D6D #6D164D
tetradic
#4D6D16 #166D61 #36166D #6D1621
square
#4D6D16 #166D61 #36166D #6D1621
split-complementary
#4D6D16 #16216D #61166D
monochromatic
#121905 #293A0C #4D6D16 #71A020 #95D32B

Accessibility & contrast

On white

5.98
#4D6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4D6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6D16
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6D16#FFFFFF#000000##FFFFFF
##4D6D161.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#50685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6d16;
/* rgb */ color: rgb(77, 109, 22);
/* oklch */ color: oklch(49.2% 0.118 128.2);
Tailwind
colors: {
  custom: {
    50: '#82975b',
    500: '#4d6d16',
    950: '#000000',
  },
}
SCSS
$custom: #4d6d16;
$custom-light: #82975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6d16",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 82.069,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.11761,
    "h": 128.2
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#4D6D16
secondary
#623CA3
accent
#3EE97D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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