#3A8A21#3A8A21

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

Color values

HEX#3A8A21
RGBrgb(58, 138, 33)
HSLhsl(106, 61%, 34%)
HSVhsv(106, 76%, 54%)
CMYKcmyk(58%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.90, -43.92, 45.91)
CIE-LCHlch(50.90, 63.54, 133.73°)
OKLaboklab(56.22% -0.1208 0.1034)
OKLCHoklch(56.22% 0.159 139.5)
XYZxyz(11.1075, 19.1854, 4.5564)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A21 #71218A
analogous
#6E8A21 #3A8A21 #218A3C
triadic
#3A8A21 #213A8A #8A213A
tetradic
#3A8A21 #216E8A #71218A #8A3C21
square
#3A8A21 #216E8A #71218A #8A3C21
split-complementary
#3A8A21 #3C218A #8A216E
monochromatic
#102709 #255915 #3A8A21 #4FBB2D #70D550

Accessibility & contrast

On white

4.34
#3A8A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A8A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A21
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A21#FFFFFF#000000##000000
##3A8A211.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a21;
/* rgb */ color: rgb(58, 138, 33);
/* oklch */ color: oklch(56.2% 0.159 139.5);
Tailwind
colors: {
  custom: {
    50: '#7aad64',
    500: '#3a8a21',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a21;
$custom-light: #7aad64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a21",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 105.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.15899,
    "h": 139.5
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#3A8A21
secondary
#9F4EB9
accent
#43E5BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A21

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

Preview Lab → · Contrast checker → · Palette generator →

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