#3A7948#3A7948

#3A7948 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.1% C 0.101 H 149.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3A7948
RGBrgb(58, 121, 72)
HSLhsl(133, 35%, 35%)
HSVhsv(133, 52%, 47%)
CMYKcmyk(52.1%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.69, -31.84, 20.82)
CIE-LCHlch(45.69, 38.04, 146.82°)
OKLaboklab(52.08% -0.0864 0.0518)
OKLCHoklch(52.08% 0.101 149.1)
XYZxyz(9.7514, 15.0414, 8.5191)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7948 #793A6B
analogous
#4C793A #3A7948 #3A7967
triadic
#3A7948 #483A79 #79483A
tetradic
#3A7948 #3A4C79 #793A6B #79673A
square
#3A7948 #3A4C79 #793A6B #79673A
split-complementary
#3A7948 #673A79 #793A4C
monochromatic
#122617 #26502F #3A7948 #4EA261 #72BB82

Accessibility & contrast

On white

5.24
#3A7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#3A7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7948
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7948#FFFFFF#000000##FFFFFF
##3A79481.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#2E776D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a7948;
/* rgb */ color: rgb(58, 121, 72);
/* oklch */ color: oklch(52.1% 0.101 149.1);
Tailwind
colors: {
  custom: {
    50: '#75a07b',
    500: '#3a7948',
    950: '#000000',
  },
}
SCSS
$custom: #3a7948;
$custom-light: #75a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7948",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 133.333,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.10075,
    "h": 149.1
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#3A7948
secondary
#A56A98
accent
#5DB3CB
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #3A7948

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

Preview Lab → · Contrast checker → · Palette generator →

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