#4D6C17#4D6C17

#4D6C17 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.0% C 0.116 H 128.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4D6C17
RGBrgb(77, 108, 23)
HSLhsl(82, 65%, 26%)
HSVhsv(82, 79%, 42%)
CMYKcmyk(28.7%, 0%, 78.7%, 57.6%)
CIE-LABlab(41.79, -24.82, 40.99)
CIE-LCHlch(41.79, 47.92, 121.19°)
OKLaboklab(48.98% -0.0712 0.0912)
OKLCHoklch(48.98% 0.116 128)
XYZxyz(8.5778, 12.3646, 2.7451)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6C17 #36176C
analogous
#6C6017 #4D6C17 #236C17
triadic
#4D6C17 #174D6C #6C174D
tetradic
#4D6C17 #176C60 #36176C #6C1723
square
#4D6C17 #176C60 #36176C #6C1723
split-complementary
#4D6C17 #17236C #60176C
monochromatic
#121905 #293A0C #4D6C17 #719E22 #95D12C

Accessibility & contrast

On white

6.05
#4D6C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4D6C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6C17
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6C17#FFFFFF#000000##FFFFFF
##4D6C171.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#50675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6c17;
/* rgb */ color: rgb(77, 108, 23);
/* oklch */ color: oklch(49.0% 0.116 128.0);
Tailwind
colors: {
  custom: {
    50: '#82965b',
    500: '#4d6c17',
    950: '#000000',
  },
}
SCSS
$custom: #4d6c17;
$custom-light: #82965b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6c17",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 81.882,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.11566,
    "h": 128
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#4D6C17
secondary
#623DA2
accent
#40E87D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6C17

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

Preview Lab → · Contrast checker → · Palette generator →

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