#3A8519#3A8519

#3A8519 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.157 H 138.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A8519
RGBrgb(58, 133, 25)
HSLhsl(102, 68%, 31%)
HSVhsv(102, 81%, 52%)
CMYKcmyk(56.4%, 0%, 81.2%, 47.8%)
CIE-LABlab(49.18, -42.53, 47.02)
CIE-LCHlch(49.18, 63.40, 132.13°)
OKLaboklab(54.79% -0.1175 0.1045)
OKLCHoklch(54.79% 0.157 138.4)
XYZxyz(10.3075, 17.7439, 3.8013)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8519 #641985
analogous
#708519 #3A8519 #19852E
triadic
#3A8519 #193A85 #85193A
tetradic
#3A8519 #197085 #641985 #852E19
square
#3A8519 #197085 #641985 #852E19
split-complementary
#3A8519 #2E1985 #851970
monochromatic
#0D1E06 #24510F #3A8519 #50B923 #6EDB3E

Accessibility & contrast

On white

4.62
#3A8519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3A8519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8519
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8519#FFFFFF#000000##FFFFFF
##3A85191.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#338071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8519;
/* rgb */ color: rgb(58, 133, 25);
/* oklch */ color: oklch(54.8% 0.157 138.4);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#3a8519',
    950: '#000000',
  },
}
SCSS
$custom: #3a8519;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8519",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 101.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.15725,
    "h": 138.4
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

primary
#3A8519
secondary
#9441B9
accent
#3DEBB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8519

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

Preview Lab → · Contrast checker → · Palette generator →

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