#4D6B17#4D6B17

#4D6B17 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.7% C 0.114 H 127.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4D6B17
RGBrgb(77, 107, 23)
HSLhsl(81, 65%, 25%)
HSVhsv(81, 79%, 42%)
CMYKcmyk(28%, 0%, 78.5%, 58%)
CIE-LABlab(41.46, -24.32, 40.68)
CIE-LCHlch(41.46, 47.39, 120.87°)
OKLaboklab(48.71% -0.0698 0.0905)
OKLCHoklch(48.71% 0.114 127.7)
XYZxyz(8.4729, 12.1548, 2.7102)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6B17 #35176B
analogous
#6B5F17 #4D6B17 #236B17
triadic
#4D6B17 #174D6B #6B174D
tetradic
#4D6B17 #176B5F #35176B #6B1723
square
#4D6B17 #176B5F #35176B #6B1723
split-complementary
#4D6B17 #17236B #5F176B
monochromatic
#121905 #29390C #4D6B17 #719D22 #95D02D

Accessibility & contrast

On white

6.12
#4D6B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D6B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6B17
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6B17#FFFFFF#000000##FFFFFF
##4D6B171.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#6D611F
Tritanopia (blue-blind)
#50665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d6b17;
/* rgb */ color: rgb(77, 107, 23);
/* oklch */ color: oklch(48.7% 0.114 127.7);
Tailwind
colors: {
  custom: {
    50: '#82955b',
    500: '#4d6b17',
    950: '#000000',
  },
}
SCSS
$custom: #4d6b17;
$custom-light: #82955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6b17",
  "rgb": {
    "r": 77,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 81.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48713,
    "c": 0.11429,
    "h": 127.7
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#4D6B17
secondary
#613DA1
accent
#40E87C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6B17

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

Preview Lab → · Contrast checker → · Palette generator →

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