#3A6731#3A6731

#3A6731 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.7% C 0.097 H 140.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3A6731
RGBrgb(58, 103, 49)
HSLhsl(110, 36%, 30%)
HSVhsv(110, 52%, 40%)
CMYKcmyk(43.7%, 0%, 52.4%, 59.6%)
CIE-LABlab(39.28, -27.20, 25.56)
CIE-LCHlch(39.28, 37.33, 136.78°)
OKLaboklab(46.72% -0.0744 0.0616)
OKLCHoklch(46.72% 0.097 140.4)
XYZxyz(7.1493, 10.8214, 4.6172)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6731 #5E3167
analogous
#556731 #3A6731 #316743
triadic
#3A6731 #313A67 #67313A
tetradic
#3A6731 #315567 #5E3167 #674331
square
#3A6731 #315567 #5E3167 #674331
split-complementary
#3A6731 #433167 #673155
monochromatic
#0C150A #233E1D #3A6731 #519045 #6DB35F

Accessibility & contrast

On white

6.64
#3A6731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3A6731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6731
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6731#FFFFFF#000000##FFFFFF
##3A67311.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2C
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#36645A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6731;
/* rgb */ color: rgb(58, 103, 49);
/* oklch */ color: oklch(46.7% 0.097 140.4);
Tailwind
colors: {
  custom: {
    50: '#73936a',
    500: '#3a6731',
    950: '#000000',
  },
}
SCSS
$custom: #3a6731;
$custom-light: #73936a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6731",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 49
  },
  "hsl": {
    "h": 110,
    "s": 35.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.09662,
    "h": 140.4
  },
  "luminance": 0.10822
}

Semantic roles & 50–950 ramp

primary
#3A6731
secondary
#8E5C98
accent
#5CCCB9
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #3A6731

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

Preview Lab → · Contrast checker → · Palette generator →

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