#3A712B#3A712B

#3A712B is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.118 H 139.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3A712B
RGBrgb(58, 113, 43)
HSLhsl(107, 45%, 31%)
HSVhsv(107, 62%, 44%)
CMYKcmyk(48.7%, 0%, 61.9%, 55.7%)
CIE-LABlab(42.59, -32.63, 32.66)
CIE-LCHlch(42.59, 46.17, 134.97°)
OKLaboklab(49.41% -0.0895 0.0767)
OKLCHoklch(49.41% 0.118 139.4)
XYZxyz(8.0858, 12.8837, 4.3458)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A712B #622B71
analogous
#5D712B #3A712B #2B713F
triadic
#3A712B #2B3A71 #712B3A
tetradic
#3A712B #2B5D71 #622B71 #713F2B
square
#3A712B #2B5D71 #622B71 #713F2B
split-complementary
#3A712B #3F2B71 #712B5D
monochromatic
#0C1809 #23451A #3A712B #519D3C #6EBF57

Accessibility & contrast

On white

5.87
#3A712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3A712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A712B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A712B#FFFFFF#000000##FFFFFF
##3A712B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#356D62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a712b;
/* rgb */ color: rgb(58, 113, 43);
/* oklch */ color: oklch(49.4% 0.118 139.4);
Tailwind
colors: {
  custom: {
    50: '#759a67',
    500: '#3a712b',
    950: '#000000',
  },
}
SCSS
$custom: #3a712b;
$custom-light: #759a67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a712b",
  "rgb": {
    "r": 58,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 107.143,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49406,
    "c": 0.11789,
    "h": 139.4
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#3A712B
secondary
#9255A3
accent
#53D5B9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3A712B

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

Preview Lab → · Contrast checker → · Palette generator →

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