#3F795B#3F795B

#3F795B is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.8% C 0.078 H 159.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3F795B
RGBrgb(63, 121, 91)
HSLhsl(149, 32%, 36%)
HSVhsv(149, 48%, 47%)
CMYKcmyk(47.9%, 0%, 24.8%, 52.5%)
CIE-LABlab(46.29, -26.52, 10.68)
CIE-LCHlch(46.29, 28.58, 158.07°)
OKLaboklab(52.76% -0.0731 0.0273)
OKLCHoklch(52.76% 0.078 159.5)
XYZxyz(10.7748, 15.4860, 12.3168)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F795B #793F5D
analogous
#40793F #3F795B #3F7978
triadic
#3F795B #5B3F79 #795B3F
tetradic
#3F795B #3F4079 #793F5D #79783F
square
#3F795B #3F4079 #793F5D #79783F
split-complementary
#3F795B #783F79 #793F40
monochromatic
#15291E #2A513D #3F795B #54A179 #79B998

Accessibility & contrast

On white

5.13
#3F795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3F795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F795B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F795B#FFFFFF#000000##FFFFFF
##3F795B1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787159
Deuteranopia (green-blind)
#6F6B5D
Tritanopia (blue-blind)
#307971
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f795b;
/* rgb */ color: rgb(63, 121, 91);
/* oklch */ color: oklch(52.8% 0.078 159.5);
Tailwind
colors: {
  custom: {
    50: '#78a089',
    500: '#3f795b',
    950: '#000000',
  },
}
SCSS
$custom: #3f795b;
$custom-light: #78a089;
$custom-dark: #000000;
JSON
{
  "hex": "#3f795b",
  "rgb": {
    "r": 63,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 148.966,
    "s": 31.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.52761,
    "c": 0.07806,
    "h": 159.5
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#3F795B
secondary
#A4708B
accent
#6096C8
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090E0B
muted
#7B7E7C

Preview Lab

Preview with #3F795B

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

Preview Lab → · Contrast checker → · Palette generator →

#3F795B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva