#3A6728#3A6728

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

Color values

HEX#3A6728
RGBrgb(58, 103, 40)
HSLhsl(103, 44%, 28%)
HSVhsv(103, 61%, 40%)
CMYKcmyk(43.7%, 0%, 61.2%, 59.6%)
CIE-LABlab(39.16, -28.40, 30.24)
CIE-LCHlch(39.16, 41.48, 133.20°)
OKLaboklab(46.59% -0.0782 0.0712)
OKLCHoklch(46.59% 0.106 137.7)
XYZxyz(6.9780, 10.7528, 3.7149)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6728 #552867
analogous
#596728 #3A6728 #286735
triadic
#3A6728 #283A67 #67283A
tetradic
#3A6728 #285967 #552867 #673528
square
#3A6728 #285967 #552867 #673528
split-complementary
#3A6728 #352867 #672859
monochromatic
#0C1609 #213B17 #3A6728 #539339 #6EBB4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6728#FFFFFF#000000##FFFFFF
##3A67281.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)
#6A5F22
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#386359
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6728;
/* rgb */ color: rgb(58, 103, 40);
/* oklch */ color: oklch(46.6% 0.106 137.7);
Tailwind
colors: {
  custom: {
    50: '#749364',
    500: '#3a6728',
    950: '#000000',
  },
}
SCSS
$custom: #3a6728;
$custom-light: #749364;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6728",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 102.857,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.10575,
    "h": 137.7
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#3A6728
secondary
#85519A
accent
#54D4AF
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#080D05
muted
#7B7E7A

Preview Lab

Preview with #3A6728

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

Preview Lab → · Contrast checker → · Palette generator →

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