#3A794E#3A794E

#3A794E is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.2% C 0.094 H 152.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A794E
RGBrgb(58, 121, 78)
HSLhsl(139, 35%, 35%)
HSVhsv(139, 52%, 47%)
CMYKcmyk(52.1%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.80, -30.69, 17.54)
CIE-LCHlch(45.80, 35.35, 150.25°)
OKLaboklab(52.21% -0.0835 0.0441)
OKLCHoklch(52.21% 0.094 152.2)
XYZxyz(9.9567, 15.1235, 9.6007)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A794E #793A65
analogous
#45793A #3A794E #3A796E
triadic
#3A794E #4E3A79 #794E3A
tetradic
#3A794E #3A4579 #793A65 #796E3A
square
#3A794E #3A4579 #793A65 #796E3A
split-complementary
#3A794E #6E3A79 #793A45
monochromatic
#122619 #265033 #3A794E #4EA269 #72BB89

Accessibility & contrast

On white

5.22
#3A794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3A794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A794E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A794E#FFFFFF#000000##FFFFFF
##3A794E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#2C776E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a794e;
/* rgb */ color: rgb(58, 121, 78);
/* oklch */ color: oklch(52.2% 0.094 152.2);
Tailwind
colors: {
  custom: {
    50: '#75a080',
    500: '#3a794e',
    950: '#000000',
  },
}
SCSS
$custom: #3a794e;
$custom-light: #75a080;
$custom-dark: #000000;
JSON
{
  "hex": "#3a794e",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 139.048,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.09442,
    "h": 152.2
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#3A794E
secondary
#A56A92
accent
#5DA8CB
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #3A794E

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

Preview Lab → · Contrast checker → · Palette generator →

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