#3A8728#3A8728

#3A8728 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.5% C 0.151 H 140.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3A8728
RGBrgb(58, 135, 40)
HSLhsl(109, 54%, 34%)
HSVhsv(109, 70%, 53%)
CMYKcmyk(57%, 0%, 70.4%, 47.1%)
CIE-LABlab(49.95, -42.17, 42.16)
CIE-LCHlch(49.95, 59.63, 135.01°)
OKLaboklab(55.45% -0.1156 0.0965)
OKLCHoklch(55.45% 0.151 140.2)
XYZxyz(10.7914, 18.3798, 4.9861)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8728 #752887
analogous
#6A8728 #3A8728 #288746
triadic
#3A8728 #283A87 #87283A
tetradic
#3A8728 #286A87 #752887 #874628
square
#3A8728 #286A87 #752887 #874628
split-complementary
#3A8728 #462887 #87286A
monochromatic
#11290C #26581A #3A8728 #4EB636 #71CE5B

Accessibility & contrast

On white

4.49
#3A8728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#3A8728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8728
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8728#FFFFFF#000000##000000
##3A87281.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#817431
Tritanopia (blue-blind)
#318374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a8728;
/* rgb */ color: rgb(58, 135, 40);
/* oklch */ color: oklch(55.5% 0.151 140.2);
Tailwind
colors: {
  custom: {
    50: '#79ab67',
    500: '#3a8728',
    950: '#000000',
  },
}
SCSS
$custom: #3a8728;
$custom-light: #79ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8728",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 108.632,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.15059,
    "h": 140.2
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#3A8728
secondary
#A257B4
accent
#4ADEC2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8728

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

Preview Lab → · Contrast checker → · Palette generator →

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