#3A8D1B#3A8D1B

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

Color values

HEX#3A8D1B
RGBrgb(58, 141, 27)
HSLhsl(104, 68%, 33%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(58.9%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.87, -45.47, 48.92)
CIE-LCHlch(51.87, 66.79, 132.91°)
OKLaboklab(57.01% -0.1253 0.1087)
OKLCHoklch(57.01% 0.166 139.1)
XYZxyz(11.4672, 20.0274, 4.2981)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D1B #6E1B8D
analogous
#738D1B #3A8D1B #1B8D35
triadic
#3A8D1B #1B3A8D #8D1B3A
tetradic
#3A8D1B #1B738D #6E1B8D #8D351B
square
#3A8D1B #1B738D #6E1B8D #8D351B
split-complementary
#3A8D1B #351B8D #8D1B73
monochromatic
#102607 #255A11 #3A8D1B #4FC025 #6FDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8D1B#FFFFFF#000000##000000
##3A8D1B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.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: #3a8d1b;
/* rgb */ color: rgb(58, 141, 27);
/* oklch */ color: oklch(57.0% 0.166 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aaf62',
    500: '#3a8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d1b;
$custom-light: #7aaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d1b",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 103.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.16592,
    "h": 139.1
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#3A8D1B
secondary
#9D46BD
accent
#3DEBBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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