#3A8D1C#3A8D1C

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

Color values

HEX#3A8D1C
RGBrgb(58, 141, 28)
HSLhsl(104, 67%, 33%)
HSVhsv(104, 80%, 55%)
CMYKcmyk(58.9%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.87, -45.41, 48.60)
CIE-LCHlch(51.87, 66.51, 133.06°)
OKLaboklab(57.01% -0.1251 0.1082)
OKLCHoklch(57.01% 0.165 139.1)
XYZxyz(11.4789, 20.0321, 4.3601)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D1C #6F1C8D
analogous
#728D1C #3A8D1C #1C8D36
triadic
#3A8D1C #1C3A8D #8D1C3A
tetradic
#3A8D1C #1C728D #6F1C8D #8D361C
square
#3A8D1C #1C728D #6F1C8D #8D361C
split-complementary
#3A8D1C #361C8D #8D1C72
monochromatic
#102708 #255A12 #3A8D1C #4FC026 #6FDB49

Accessibility & contrast

On white

4.19
#3A8D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#3A8D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8D1C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8D1C#FFFFFF#000000##000000
##3A8D1C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8d1c;
/* rgb */ color: rgb(58, 141, 28);
/* oklch */ color: oklch(57.0% 0.165 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aaf62',
    500: '#3a8d1c',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d1c;
$custom-light: #7aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d1c",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 104.071,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.16542,
    "h": 139.1
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#3A8D1C
secondary
#9E48BD
accent
#3EEABC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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