#3A8A25#3A8A25

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

Color values

HEX#3A8A25
RGBrgb(58, 138, 37)
HSLhsl(108, 58%, 34%)
HSVhsv(108, 73%, 54%)
CMYKcmyk(58%, 0%, 73.2%, 45.9%)
CIE-LABlab(50.93, -43.61, 44.41)
CIE-LCHlch(50.93, 62.24, 134.48°)
OKLaboklab(56.25% -0.1197 0.1008)
OKLCHoklch(56.25% 0.156 139.9)
XYZxyz(11.1668, 19.2091, 4.8692)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A25 #75258A
analogous
#6D8A25 #3A8A25 #258A43
triadic
#3A8A25 #253A8A #8A253A
tetradic
#3A8A25 #256D8A #75258A #8A4325
square
#3A8A25 #256D8A #75258A #8A4325
split-complementary
#3A8A25 #43258A #8A256D
monochromatic
#11290B #265A18 #3A8A25 #4EBA32 #71D257

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8A25#FFFFFF#000000##000000
##3A8A251.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)
#8E7D14
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#318576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a8a25;
/* rgb */ color: rgb(58, 138, 37);
/* oklch */ color: oklch(56.3% 0.156 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ad66',
    500: '#3a8a25',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a25;
$custom-light: #79ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a25",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 107.525,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.15648,
    "h": 139.9
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#3A8A25
secondary
#A254B7
accent
#47E1C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3A8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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