#3A8D22#3A8D22

#3A8D22 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.162 H 139.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A8D22
RGBrgb(58, 141, 34)
HSLhsl(107, 61%, 34%)
HSVhsv(107, 76%, 55%)
CMYKcmyk(58.9%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.91, -45.00, 46.55)
CIE-LCHlch(51.91, 64.74, 134.03°)
OKLaboklab(57.05% -0.1236 0.1048)
OKLCHoklch(57.05% 0.162 139.7)
XYZxyz(11.5580, 20.0638, 4.7767)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8D22 #75228D
analogous
#708D22 #3A8D22 #228D40
triadic
#3A8D22 #223A8D #8D223A
tetradic
#3A8D22 #22708D #75228D #8D4022
square
#3A8D22 #22708D #75228D #8D4022
split-complementary
#3A8D22 #40228D #8D2270
monochromatic
#112A0A #265C16 #3A8D22 #4EBE2E #71D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8D22#FFFFFF#000000##000000
##3A8D221.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)
#91800C
Deuteranopia (green-blind)
#87792D
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8d22;
/* rgb */ color: rgb(58, 141, 34);
/* oklch */ color: oklch(57.1% 0.162 139.7);
Tailwind
colors: {
  custom: {
    50: '#7aaf65',
    500: '#3a8d22',
    950: '#000000',
  },
}
SCSS
$custom: #3a8d22;
$custom-light: #7aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8d22",
  "rgb": {
    "r": 58,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 106.542,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.1621,
    "h": 139.7
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#3A8D22
secondary
#A251B9
accent
#44E4C0
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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