#4F7948#4F7948

#4F7948 is a mid, moderate green. Relative luminance 0.158; OKLCH L 53.2% C 0.088 H 140.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F7948
RGBrgb(79, 121, 72)
HSLhsl(111, 25%, 38%)
HSVhsv(111, 40%, 47%)
CMYKcmyk(34.7%, 0%, 40.5%, 52.5%)
CIE-LABlab(46.72, -24.97, 22.36)
CIE-LCHlch(46.72, 33.52, 138.16°)
OKLaboklab(53.2% -0.0682 0.0553)
OKLCHoklch(53.2% 0.088 140.9)
XYZxyz(11.2311, 15.8044, 8.5884)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7948 #724879
analogous
#677948 #4F7948 #487959
triadic
#4F7948 #484F79 #79484F
tetradic
#4F7948 #486779 #724879 #795948
square
#4F7948 #486779 #724879 #795948
split-complementary
#4F7948 #594879 #794867
monochromatic
#1D2C1A #365331 #4F7948 #689F5F #8CB685

Accessibility & contrast

On white

5.05
#4F7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4F7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7948
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7948#FFFFFF#000000##FFFFFF
##4F79481.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7145
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#4C766D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4f7948;
/* rgb */ color: rgb(79, 121, 72);
/* oklch */ color: oklch(53.2% 0.088 140.9);
Tailwind
colors: {
  custom: {
    50: '#82a07b',
    500: '#4f7948',
    950: '#000000',
  },
}
SCSS
$custom: #4f7948;
$custom-light: #82a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7948",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 111.429,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.08779,
    "h": 140.9
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#4F7948
secondary
#9D7AA2
accent
#66C2B5
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E09
muted
#7C7E7B

Preview Lab

Preview with #4F7948

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

Preview Lab → · Contrast checker → · Palette generator →

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