#3A8A1C#3A8A1C

#3A8A1C is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.162 H 139.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A8A1C
RGBrgb(58, 138, 28)
HSLhsl(104, 66%, 33%)
HSVhsv(104, 80%, 54%)
CMYKcmyk(58%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.87, -44.27, 47.64)
CIE-LCHlch(50.87, 65.04, 132.90°)
OKLaboklab(56.19% -0.122 0.1062)
OKLCHoklch(56.19% 0.162 139)
XYZxyz(11.0426, 19.1594, 4.2146)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A1C #6C1C8A
analogous
#718A1C #3A8A1C #1C8A35
triadic
#3A8A1C #1C3A8A #8A1C3A
tetradic
#3A8A1C #1C718A #6C1C8A #8A351C
square
#3A8A1C #1C718A #6C1C8A #8A351C
split-complementary
#3A8A1C #351C8A #8A1C71
monochromatic
#0F2407 #255712 #3A8A1C #4FBD26 #6FDA47

Accessibility & contrast

On white

4.35
#3A8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3A8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A1C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A1C#FFFFFF#000000##000000
##3A8A1C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#328575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a1c;
/* rgb */ color: rgb(58, 138, 28);
/* oklch */ color: oklch(56.2% 0.162 139.0);
Tailwind
colors: {
  custom: {
    50: '#7aad62',
    500: '#3a8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a1c;
$custom-light: #7aad62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a1c",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 103.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.1618,
    "h": 139
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#3A8A1C
secondary
#9B46BB
accent
#3FE9BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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