#4D6640#4D6640

#4D6640 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.066 H 135.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4D6640
RGBrgb(77, 102, 64)
HSLhsl(99, 23%, 33%)
HSVhsv(99, 37%, 40%)
CMYKcmyk(24.5%, 0%, 37.3%, 60%)
CIE-LABlab(40.33, -17.14, 18.56)
CIE-LCHlch(40.33, 25.26, 132.73°)
OKLaboklab(47.96% -0.0468 0.0462)
OKLCHoklch(47.96% 0.066 135.4)
XYZxyz(8.7371, 11.4505, 6.5993)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6640 #594066
analogous
#606640 #4D6640 #406646
triadic
#4D6640 #404D66 #66404D
tetradic
#4D6640 #406066 #594066 #664640
square
#4D6640 #406066 #594066 #664640
split-complementary
#4D6640 #464066 #664060
monochromatic
#141B11 #314028 #4D6640 #698C58 #88AA77

Accessibility & contrast

On white

6.38
#4D6640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4D6640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6640
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6640#FFFFFF#000000##FFFFFF
##4D66401.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603D
Deuteranopia (green-blind)
#655E42
Tritanopia (blue-blind)
#4D635C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d6640;
/* rgb */ color: rgb(77, 102, 64);
/* oklch */ color: oklch(48.0% 0.066 135.4);
Tailwind
colors: {
  custom: {
    50: '#7f9175',
    500: '#4d6640',
    950: '#000000',
  },
}
SCSS
$custom: #4d6640;
$custom-light: #7f9175;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6640",
  "rgb": {
    "r": 77,
    "g": 102,
    "b": 64
  },
  "hsl": {
    "h": 99.474,
    "s": 22.892,
    "l": 32.549
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.06573,
    "h": 135.4
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#4D6640
secondary
#876D95
accent
#68BFA2
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0D08
muted
#7C7D7B

Preview Lab

Preview with #4D6640

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

Preview Lab → · Contrast checker → · Palette generator →

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