#3A9417#3A9417

#3A9417 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.176 H 139.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3A9417
RGBrgb(58, 148, 23)
HSLhsl(103, 73%, 34%)
HSVhsv(103, 84%, 58%)
CMYKcmyk(60.8%, 0%, 84.5%, 42%)
CIE-LABlab(54.18, -48.29, 52.23)
CIE-LCHlch(54.18, 71.13, 132.75°)
OKLaboklab(58.91% -0.1331 0.1151)
OKLCHoklch(58.91% 0.176 139.2)
XYZxyz(12.4890, 22.1401, 4.4258)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A9417 #711794
analogous
#789417 #3A9417 #179432
triadic
#3A9417 #173A94 #94173A
tetradic
#3A9417 #177894 #711794 #943217
square
#3A9417 #177894 #711794 #943217
split-complementary
#3A9417 #321794 #941778
monochromatic
#102A07 #255F0F #3A9417 #4FC91F #70E244

Accessibility & contrast

On white

3.87
#3A9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#3A9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A9417
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A9417#FFFFFF#000000##000000
##3A94171.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#2F8F7E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a9417;
/* rgb */ color: rgb(58, 148, 23);
/* oklch */ color: oklch(58.9% 0.176 139.2);
Tailwind
colors: {
  custom: {
    50: '#7cb461',
    500: '#3a9417',
    950: '#000000',
  },
}
SCSS
$custom: #3a9417;
$custom-light: #7cb461;
$custom-dark: #000000;
JSON
{
  "hex": "#3a9417",
  "rgb": {
    "r": 58,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 103.2,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.17594,
    "h": 139.2
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#3A9417
secondary
#9F44C3
accent
#38F0BC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #3A9417

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

Preview Lab → · Contrast checker → · Palette generator →

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