#4D6517#4D6517

#4D6517 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.1% C 0.106 H 125.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4D6517
RGBrgb(77, 101, 23)
HSLhsl(78, 63%, 24%)
HSVhsv(78, 77%, 40%)
CMYKcmyk(23.8%, 0%, 77.2%, 60.4%)
CIE-LABlab(39.49, -21.26, 38.76)
CIE-LCHlch(39.49, 44.21, 118.75°)
OKLaboklab(47.12% -0.0615 0.0865)
OKLCHoklch(47.12% 0.106 125.4)
XYZxyz(7.8690, 10.9469, 2.5088)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6517 #2F1765
analogous
#655617 #4D6517 #266517
triadic
#4D6517 #174D65 #65174D
tetradic
#4D6517 #176556 #2F1765 #651726
square
#4D6517 #176556 #2F1765 #651726
split-complementary
#4D6517 #172665 #561765
monochromatic
#131906 #27330C #4D6517 #739722 #99C92E

Accessibility & contrast

On white

6.58
#4D6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6517
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6517#FFFFFF#000000##FFFFFF
##4D65171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#516056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d6517;
/* rgb */ color: rgb(77, 101, 23);
/* oklch */ color: oklch(47.1% 0.106 125.4);
Tailwind
colors: {
  custom: {
    50: '#82915a',
    500: '#4d6517',
    950: '#000000',
  },
}
SCSS
$custom: #4d6517;
$custom-light: #82915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6517",
  "rgb": {
    "r": 77,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 78.462,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47115,
    "c": 0.10611,
    "h": 125.4
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#4D6517
secondary
#5A3C9B
accent
#42E674
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6517

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

Preview Lab → · Contrast checker → · Palette generator →

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