#4D6E17#4D6E17

#4D6E17 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.5% C 0.118 H 128.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D6E17
RGBrgb(77, 110, 23)
HSLhsl(83, 65%, 26%)
HSVhsv(83, 79%, 43%)
CMYKcmyk(30%, 0%, 79.1%, 56.9%)
CIE-LABlab(42.45, -25.81, 41.62)
CIE-LCHlch(42.45, 48.98, 121.80°)
OKLaboklab(49.51% -0.0739 0.0925)
OKLCHoklch(49.51% 0.118 128.6)
XYZxyz(8.7911, 12.7913, 2.8162)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6E17 #38176E
analogous
#6E6317 #4D6E17 #216E17
triadic
#4D6E17 #174D6E #6E174D
tetradic
#4D6E17 #176E63 #38176E #6E1721
square
#4D6E17 #176E63 #38176E #6E1721
split-complementary
#4D6E17 #17216E #63176E
monochromatic
#121905 #2A3B0C #4D6E17 #70A122 #94D32C

Accessibility & contrast

On white

5.90
#4D6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6E17
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6E17#FFFFFF#000000##FFFFFF
##4D6E171.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746604
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#50695E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d6e17;
/* rgb */ color: rgb(77, 110, 23);
/* oklch */ color: oklch(49.5% 0.118 128.6);
Tailwind
colors: {
  custom: {
    50: '#82975b',
    500: '#4d6e17',
    950: '#000000',
  },
}
SCSS
$custom: #4d6e17;
$custom-light: #82975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6e17",
  "rgb": {
    "r": 77,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 82.759,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.11836,
    "h": 128.6
  },
  "luminance": 0.12792
}

Semantic roles & 50–950 ramp

primary
#4D6E17
secondary
#643DA4
accent
#3FE880
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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