#3A8D1A#3A8D1A

#3A8D1A is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.166 H 139.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A8D1A
RGBrgb(58, 141, 26)
HSLhsl(103, 69%, 33%)
HSVhsv(103, 82%, 55%)
CMYKcmyk(58.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.86, -45.53, 49.23)
CIE-LCHlch(51.86, 67.05, 132.77°)
OKLaboklab(57% -0.1255 0.1092)
OKLCHoklch(57% 0.166 139)
XYZxyz(11.4558, 20.0229, 4.2382)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D1A #6D1A8D
analogous
#748D1A #3A8D1A #1A8D33
triadic
#3A8D1A #1A3A8D #8D1A3A
tetradic
#3A8D1A #1A748D #6D1A8D #8D331A
square
#3A8D1A #1A748D #6D1A8D #8D331A
split-complementary
#3A8D1A #331A8D #8D1A74
monochromatic
#0F2607 #255910 #3A8D1A #4FC124 #6FDD45

Accessibility & contrast

On white

4.20
#3A8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D1A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D1A#FFFFFF#000000##000000
##3A8D1A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#318878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d1a;
/* rgb */ color: rgb(58, 141, 26);
/* oklch */ color: oklch(57.0% 0.166 139.0);
Tailwind
colors: {
  custom: {
    50: '#7aaf61',
    500: '#3a8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d1a;
$custom-light: #7aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d1a",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 103.304,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57,
    "c": 0.16641,
    "h": 139
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#3A8D1A
secondary
#9C45BE
accent
#3CECBB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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