#3A794B#3A794B

#3A794B is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.1% C 0.098 H 150.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3A794B
RGBrgb(58, 121, 75)
HSLhsl(136, 35%, 35%)
HSVhsv(136, 52%, 47%)
CMYKcmyk(52.1%, 0%, 38%, 52.5%)
CIE-LABlab(45.75, -31.28, 19.18)
CIE-LCHlch(45.75, 36.69, 148.47°)
OKLaboklab(52.15% -0.085 0.048)
OKLCHoklch(52.15% 0.098 150.6)
XYZxyz(9.8516, 15.0815, 9.0471)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A794B #793A68
analogous
#49793A #3A794B #3A796A
triadic
#3A794B #4B3A79 #794B3A
tetradic
#3A794B #3A4979 #793A68 #796A3A
square
#3A794B #3A4979 #793A68 #796A3A
split-complementary
#3A794B #6A3A79 #793A49
monochromatic
#122618 #265031 #3A794B #4EA265 #72BB86

Accessibility & contrast

On white

5.23
#3A794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A794B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A794B#FFFFFF#000000##FFFFFF
##3A794B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7048
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#2D776D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a794b;
/* rgb */ color: rgb(58, 121, 75);
/* oklch */ color: oklch(52.1% 0.098 150.6);
Tailwind
colors: {
  custom: {
    50: '#75a07d',
    500: '#3a794b',
    950: '#000000',
  },
}
SCSS
$custom: #3a794b;
$custom-light: #75a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a794b",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 136.19,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.09758,
    "h": 150.6
  },
  "luminance": 0.15082
}

Semantic roles & 50–950 ramp

primary
#3A794B
secondary
#A56A95
accent
#5DADCB
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #3A794B

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

Preview Lab → · Contrast checker → · Palette generator →

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