#4D6D17#4D6D17

#4D6D17 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.2% C 0.117 H 128.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4D6D17
RGBrgb(77, 109, 23)
HSLhsl(82, 65%, 26%)
HSVhsv(82, 79%, 43%)
CMYKcmyk(29.4%, 0%, 78.9%, 57.3%)
CIE-LABlab(42.12, -25.31, 41.31)
CIE-LCHlch(42.12, 48.45, 121.50°)
OKLaboklab(49.25% -0.0725 0.0918)
OKLCHoklch(49.25% 0.117 128.3)
XYZxyz(8.6839, 12.5767, 2.7805)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6D17 #37176D
analogous
#6D6217 #4D6D17 #226D17
triadic
#4D6D17 #174D6D #6D174D
tetradic
#4D6D17 #176D62 #37176D #6D1722
square
#4D6D17 #176D62 #37176D #6D1722
split-complementary
#4D6D17 #17226D #62176D
monochromatic
#121905 #293A0C #4D6D17 #71A022 #94D22C

Accessibility & contrast

On white

5.97
#4D6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4D6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6D17
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6D17#FFFFFF#000000##FFFFFF
##4D6D171.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#6E631F
Tritanopia (blue-blind)
#50685D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d6d17;
/* rgb */ color: rgb(77, 109, 23);
/* oklch */ color: oklch(49.2% 0.117 128.3);
Tailwind
colors: {
  custom: {
    50: '#82975b',
    500: '#4d6d17',
    950: '#000000',
  },
}
SCSS
$custom: #4d6d17;
$custom-light: #82975b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6d17",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 82.326,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.11701,
    "h": 128.3
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#4D6D17
secondary
#633DA3
accent
#40E87E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4D6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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