#3A8A1B#3A8A1B

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

Color values

HEX#3A8A1B
RGBrgb(58, 138, 27)
HSLhsl(103, 67%, 32%)
HSVhsv(103, 80%, 54%)
CMYKcmyk(58%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.87, -44.33, 47.97)
CIE-LCHlch(50.87, 65.32, 132.74°)
OKLaboklab(56.18% -0.1223 0.1068)
OKLCHoklch(56.18% 0.162 138.9)
XYZxyz(11.0308, 19.1547, 4.1526)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A1B #6B1B8A
analogous
#728A1B #3A8A1B #1B8A33
triadic
#3A8A1B #1B3A8A #8A1B3A
tetradic
#3A8A1B #1B728A #6B1B8A #8A331B
square
#3A8A1B #1B728A #6B1B8A #8A331B
split-complementary
#3A8A1B #331B8A #8A1B72
monochromatic
#0F2407 #245711 #3A8A1B #50BD25 #6FDB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A1B#FFFFFF#000000##000000
##3A8A1B1.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: #3a8a1b;
/* rgb */ color: rgb(58, 138, 27);
/* oklch */ color: oklch(56.2% 0.162 138.9);
Tailwind
colors: {
  custom: {
    50: '#7aad61',
    500: '#3a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a1b;
$custom-light: #7aad61;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a1b",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 103.243,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.16231,
    "h": 138.9
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#3A8A1B
secondary
#9B45BC
accent
#3EEABA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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