#4D7F4E#4D7F4E

#4D7F4E is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.8% C 0.092 H 144.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4D7F4E
RGBrgb(77, 127, 78)
HSLhsl(121, 25%, 40%)
HSVhsv(121, 39%, 50%)
CMYKcmyk(39.4%, 0%, 38.6%, 50.2%)
CIE-LABlab(48.64, -27.63, 21.48)
CIE-LCHlch(48.64, 35.00, 142.14°)
OKLaboklab(54.77% -0.0753 0.0535)
OKLCHoklch(54.77% 0.092 144.6)
XYZxyz(12.0245, 17.3059, 9.9130)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7F4E #7F4D7E
analogous
#657F4D #4D7F4E #4D7F67
triadic
#4D7F4E #4E4D7F #7F4E4D
tetradic
#4D7F4E #4D657F #7F4D7E #7F674D
square
#4D7F4E #4D657F #7F4D7E #7F674D
split-complementary
#4D7F4E #674D7F #7F4D65
monochromatic
#1F331F #365937 #4D7F4E #67A368 #8DBA8E

Accessibility & contrast

On white

4.71
#4D7F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4D7F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7F4E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7F4E#FFFFFF#000000##FFFFFF
##4D7F4E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774B
Deuteranopia (green-blind)
#797251
Tritanopia (blue-blind)
#477C73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d7f4e;
/* rgb */ color: rgb(77, 127, 78);
/* oklch */ color: oklch(54.8% 0.092 144.6);
Tailwind
colors: {
  custom: {
    50: '#81a480',
    500: '#4d7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d7f4e;
$custom-light: #81a480;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7f4e",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 121.2,
    "s": 24.51,
    "l": 40
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.09233,
    "h": 144.6
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#4D7F4E
secondary
#A682A6
accent
#67BFC1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0A0F0A
muted
#7C7F7C

Preview Lab

Preview with #4D7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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