#4D6F17#4D6F17

#4D6F17 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.120 H 128.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D6F17
RGBrgb(77, 111, 23)
HSLhsl(83, 66%, 26%)
HSVhsv(83, 79%, 44%)
CMYKcmyk(30.6%, 0%, 79.3%, 56.5%)
CIE-LABlab(42.78, -26.30, 41.94)
CIE-LCHlch(42.78, 49.50, 122.09°)
OKLaboklab(49.78% -0.0752 0.0931)
OKLCHoklch(49.78% 0.12 128.9)
XYZxyz(8.8996, 13.0083, 2.8524)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6F17 #39176F
analogous
#6F6517 #4D6F17 #216F17
triadic
#4D6F17 #174D6F #6F174D
tetradic
#4D6F17 #176F65 #39176F #6F1721
square
#4D6F17 #176F65 #39176F #6F1721
split-complementary
#4D6F17 #17216F #65176F
monochromatic
#121905 #2A3C0C #4D6F17 #70A222 #93D32D

Accessibility & contrast

On white

5.83
#4D6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6F17
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6F17#FFFFFF#000000##FFFFFF
##4D6F171.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756704
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#506A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d6f17;
/* rgb */ color: rgb(77, 111, 23);
/* oklch */ color: oklch(49.8% 0.120 128.9);
Tailwind
colors: {
  custom: {
    50: '#82985c',
    500: '#4d6f17',
    950: '#000000',
  },
}
SCSS
$custom: #4d6f17;
$custom-light: #82985c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6f17",
  "rgb": {
    "r": 77,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 83.182,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.11971,
    "h": 128.9
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#4D6F17
secondary
#653DA5
accent
#3FE981
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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