#3A7331#3A7331

#3A7331 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.0% C 0.115 H 141.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3A7331
RGBrgb(58, 115, 49)
HSLhsl(112, 40%, 32%)
HSVhsv(112, 57%, 45%)
CMYKcmyk(49.6%, 0%, 57.4%, 54.9%)
CIE-LABlab(43.33, -32.77, 30.47)
CIE-LCHlch(43.33, 44.75, 137.08°)
OKLaboklab(50.04% -0.0896 0.0725)
OKLCHoklch(50.04% 0.115 141)
XYZxyz(8.4297, 13.3822, 5.0440)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7331 #6A3173
analogous
#5B7331 #3A7331 #317349
triadic
#3A7331 #313A73 #73313A
tetradic
#3A7331 #315B73 #6A3173 #734931
square
#3A7331 #315B73 #6A3173 #734931
split-complementary
#3A7331 #493173 #73315B
monochromatic
#0F1D0C #24481F #3A7331 #509E43 #6EBC62

Accessibility & contrast

On white

5.71
#3A7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3A7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7331
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7331#FFFFFF#000000##FFFFFF
##3A73311.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#6E6436
Tritanopia (blue-blind)
#347064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a7331;
/* rgb */ color: rgb(58, 115, 49);
/* oklch */ color: oklch(50.0% 0.115 141.0);
Tailwind
colors: {
  custom: {
    50: '#759c6b',
    500: '#3a7331',
    950: '#000000',
  },
}
SCSS
$custom: #3a7331;
$custom-light: #759c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7331",
  "rgb": {
    "r": 58,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 111.818,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.11521,
    "h": 141
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#3A7331
secondary
#9A5CA4
accent
#58D0C0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #3A7331

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

Preview Lab → · Contrast checker → · Palette generator →

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