#3A6727#3A6727

#3A6727 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.6% C 0.107 H 137.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3A6727
RGBrgb(58, 103, 39)
HSLhsl(102, 45%, 28%)
HSVhsv(102, 62%, 40%)
CMYKcmyk(43.7%, 0%, 62.1%, 59.6%)
CIE-LABlab(39.15, -28.52, 30.74)
CIE-LCHlch(39.15, 41.93, 132.86°)
OKLaboklab(46.58% -0.0786 0.0721)
OKLCHoklch(46.58% 0.107 137.5)
XYZxyz(6.9612, 10.7461, 3.6265)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6727 #542767
analogous
#5A6727 #3A6727 #276734
triadic
#3A6727 #273A67 #67273A
tetradic
#3A6727 #275A67 #542767 #673427
square
#3A6727 #275A67 #542767 #673427
split-complementary
#3A6727 #342767 #67275A
monochromatic
#0C1608 #213B16 #3A6727 #539338 #6EBC4D

Accessibility & contrast

On white

6.67
#3A6727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3A6727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6727
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6727#FFFFFF#000000##FFFFFF
##3A67271.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F20
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#386359
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6727;
/* rgb */ color: rgb(58, 103, 39);
/* oklch */ color: oklch(46.6% 0.107 137.5);
Tailwind
colors: {
  custom: {
    50: '#749364',
    500: '#3a6727',
    950: '#000000',
  },
}
SCSS
$custom: #3a6727;
$custom-light: #749364;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6727",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 102.188,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46577,
    "c": 0.1067,
    "h": 137.5
  },
  "luminance": 0.10747
}

Semantic roles & 50–950 ramp

primary
#3A6727
secondary
#84509A
accent
#53D5AE
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #3A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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