#3A8522#3A8522

#3A8522 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.152 H 139.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A8522
RGBrgb(58, 133, 34)
HSLhsl(105, 59%, 33%)
HSVhsv(105, 74%, 52%)
CMYKcmyk(56.4%, 0%, 74.4%, 47.8%)
CIE-LABlab(49.24, -41.90, 43.86)
CIE-LCHlch(49.24, 60.66, 133.69°)
OKLaboklab(54.85% -0.1153 0.0992)
OKLCHoklch(54.85% 0.152 139.3)
XYZxyz(10.4208, 17.7892, 4.3976)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8522 #6D2285
analogous
#6B8522 #3A8522 #22853C
triadic
#3A8522 #223A85 #85223A
tetradic
#3A8522 #226B85 #6D2285 #853C22
square
#3A8522 #226B85 #6D2285 #853C22
split-complementary
#3A8522 #3C2285 #85226B
monochromatic
#0F2409 #255416 #3A8522 #4FB62E #6FD24F

Accessibility & contrast

On white

4.61
#3A8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3A8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8522
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8522#FFFFFF#000000##FFFFFF
##3A85221.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7F732C
Tritanopia (blue-blind)
#328072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8522;
/* rgb */ color: rgb(58, 133, 34);
/* oklch */ color: oklch(54.9% 0.152 139.3);
Tailwind
colors: {
  custom: {
    50: '#79a964',
    500: '#3a8522',
    950: '#000000',
  },
}
SCSS
$custom: #3a8522;
$custom-light: #79a964;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8522",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 105.455,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5485,
    "c": 0.15209,
    "h": 139.3
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#3A8522
secondary
#9C4DB6
accent
#45E2BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8522

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

Preview Lab → · Contrast checker → · Palette generator →

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