#4D6617#4D6617

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

Color values

HEX#4D6617
RGBrgb(77, 102, 23)
HSLhsl(79, 63%, 25%)
HSVhsv(79, 77%, 40%)
CMYKcmyk(24.5%, 0%, 77.5%, 60%)
CIE-LABlab(39.82, -21.78, 39.08)
CIE-LCHlch(39.82, 44.74, 119.13°)
OKLaboklab(47.38% -0.0629 0.0872)
OKLCHoklch(47.38% 0.107 125.8)
XYZxyz(7.9666, 11.1423, 2.5414)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6617 #301766
analogous
#665817 #4D6617 #266617
triadic
#4D6617 #174D66 #66174D
tetradic
#4D6617 #176658 #301766 #661726
square
#4D6617 #176658 #301766 #661726
split-complementary
#4D6617 #172666 #581766
monochromatic
#131906 #27340C #4D6617 #739822 #98CA2E

Accessibility & contrast

On white

6.50
#4D6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D6617
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6617#FFFFFF#000000##FFFFFF
##4D66171.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d6617;
/* rgb */ color: rgb(77, 102, 23);
/* oklch */ color: oklch(47.4% 0.107 125.8);
Tailwind
colors: {
  custom: {
    50: '#82915a',
    500: '#4d6617',
    950: '#000000',
  },
}
SCSS
$custom: #4d6617;
$custom-light: #82915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6617",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 78.987,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.10748,
    "h": 125.8
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#4D6617
secondary
#5B3C9C
accent
#42E676
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #4D6617

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

Preview Lab → · Contrast checker → · Palette generator →

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