#4F795F#4F795F

#4F795F is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.7% C 0.062 H 156.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4F795F
RGBrgb(79, 121, 95)
HSLhsl(143, 21%, 39%)
HSVhsv(143, 35%, 47%)
CMYKcmyk(34.7%, 0%, 21.5%, 52.5%)
CIE-LABlab(47.19, -20.65, 9.70)
CIE-LCHlch(47.19, 22.81, 154.84°)
OKLaboklab(53.73% -0.0571 0.0249)
OKLCHoklch(53.73% 0.062 156.4)
XYZxyz(12.1266, 16.1626, 13.3050)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F795F #794F69
analogous
#54794F #4F795F #4F7974
triadic
#4F795F #5F4F79 #795F4F
tetradic
#4F795F #4F5479 #794F69 #79744F
square
#4F795F #4F5479 #794F69 #79744F
split-complementary
#4F795F #744F79 #794F54
monochromatic
#1F2F25 #375442 #4F795F #689D7C #8EB59D

Accessibility & contrast

On white

4.96
#4F795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4F795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F795F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F795F#FFFFFF#000000##FFFFFF
##4F795F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735E
Deuteranopia (green-blind)
#726E60
Tritanopia (blue-blind)
#477872
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f795f;
/* rgb */ color: rgb(79, 121, 95);
/* oklch */ color: oklch(53.7% 0.062 156.4);
Tailwind
colors: {
  custom: {
    50: '#82a08c',
    500: '#4f795f',
    950: '#000000',
  },
}
SCSS
$custom: #4f795f;
$custom-light: #82a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f795f",
  "rgb": {
    "r": 79,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 142.857,
    "s": 21,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.06228,
    "h": 156.4
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#4F795F
secondary
#A28296
accent
#6A9EBE
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0E0C
muted
#7C7E7D

Preview Lab

Preview with #4F795F

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

Preview Lab → · Contrast checker → · Palette generator →

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