#4D6417#4D6417

#4D6417 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.8% C 0.105 H 125.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4D6417
RGBrgb(77, 100, 23)
HSLhsl(78, 63%, 24%)
HSVhsv(78, 77%, 39%)
CMYKcmyk(23%, 0%, 77%, 60.8%)
CIE-LABlab(39.16, -20.75, 38.44)
CIE-LCHlch(39.16, 43.68, 118.35°)
OKLaboklab(46.85% -0.0601 0.0858)
OKLCHoklch(46.85% 0.105 125)
XYZxyz(7.7725, 10.7539, 2.4767)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6417 #2E1764
analogous
#645517 #4D6417 #276417
triadic
#4D6417 #174D64 #64174D
tetradic
#4D6417 #176455 #2E1764 #641727
square
#4D6417 #176455 #2E1764 #641727
split-complementary
#4D6417 #172764 #551764
monochromatic
#131906 #27320C #4D6417 #739622 #9AC82E

Accessibility & contrast

On white

6.66
#4D6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4D6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6417
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6417#FFFFFF#000000##FFFFFF
##4D64171.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#515F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6417;
/* rgb */ color: rgb(77, 100, 23);
/* oklch */ color: oklch(46.8% 0.105 125.0);
Tailwind
colors: {
  custom: {
    50: '#81905a',
    500: '#4d6417',
    950: '#000000',
  },
}
SCSS
$custom: #4d6417;
$custom-light: #81905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6417",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 77.922,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.10473,
    "h": 125
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#4D6417
secondary
#583C9A
accent
#42E673
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D6417

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

Preview Lab → · Contrast checker → · Palette generator →

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