#4D6616#4D6616

#4D6616 is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.108 H 125.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4D6616
RGBrgb(77, 102, 22)
HSLhsl(79, 65%, 24%)
HSVhsv(79, 78%, 40%)
CMYKcmyk(24.5%, 0%, 78.4%, 60%)
CIE-LABlab(39.81, -21.84, 39.46)
CIE-LCHlch(39.81, 45.10, 118.97°)
OKLaboklab(47.37% -0.0632 0.0878)
OKLCHoklch(47.37% 0.108 125.7)
XYZxyz(7.9568, 11.1383, 2.4896)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6616 #2F1666
analogous
#665716 #4D6616 #256616
triadic
#4D6616 #164D66 #66164D
tetradic
#4D6616 #166657 #2F1666 #661625
square
#4D6616 #166657 #2F1666 #661625
split-complementary
#4D6616 #162566 #571666
monochromatic
#131905 #27340B #4D6616 #739821 #99CB2C

Accessibility & contrast

On white

6.51
#4D6616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4D6616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6616
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6616#FFFFFF#000000##FFFFFF
##4D66161.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#516157
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d6616;
/* rgb */ color: rgb(77, 102, 22);
/* oklch */ color: oklch(47.4% 0.108 125.7);
Tailwind
colors: {
  custom: {
    50: '#82915a',
    500: '#4d6616',
    950: '#000000',
  },
}
SCSS
$custom: #4d6616;
$custom-light: #82915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6616",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 78.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.10813,
    "h": 125.7
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#4D6616
secondary
#5A3B9D
accent
#40E875
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6616

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

Preview Lab → · Contrast checker → · Palette generator →

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