#4D6717#4D6717

#4D6717 is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.109 H 126.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4D6717
RGBrgb(77, 103, 23)
HSLhsl(80, 63%, 25%)
HSVhsv(80, 78%, 40%)
CMYKcmyk(25.2%, 0%, 77.7%, 59.6%)
CIE-LABlab(40.15, -22.30, 39.40)
CIE-LCHlch(40.15, 45.27, 119.50°)
OKLaboklab(47.65% -0.0643 0.0878)
OKLCHoklch(47.65% 0.109 126.2)
XYZxyz(8.0655, 11.3400, 2.5744)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6717 #311767
analogous
#675917 #4D6717 #256717
triadic
#4D6717 #174D67 #67174D
tetradic
#4D6717 #176759 #311767 #671725
square
#4D6717 #176759 #311767 #671725
split-complementary
#4D6717 #172567 #591767
monochromatic
#131906 #28350C #4D6717 #729922 #98CB2D

Accessibility & contrast

On white

6.43
#4D6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4D6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6717
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6717#FFFFFF#000000##FFFFFF
##4D67171.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#506258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6717;
/* rgb */ color: rgb(77, 103, 23);
/* oklch */ color: oklch(47.6% 0.109 126.2);
Tailwind
colors: {
  custom: {
    50: '#82925a',
    500: '#4d6717',
    950: '#000000',
  },
}
SCSS
$custom: #4d6717;
$custom-light: #82925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6717",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 79.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.10884,
    "h": 126.2
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#4D6717
secondary
#5C3D9D
accent
#41E777
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6717

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

Preview Lab → · Contrast checker → · Palette generator →

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