#3A8417#3A8417

#3A8417 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.157 H 138.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A8417
RGBrgb(58, 132, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(56.1%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.84, -42.25, 47.32)
CIE-LCHlch(48.84, 63.44, 131.76°)
OKLaboklab(54.5% -0.1169 0.1048)
OKLCHoklch(54.5% 0.157 138.1)
XYZxyz(10.1505, 17.4631, 3.6463)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8417 #611784
analogous
#708417 #3A8417 #17842A
triadic
#3A8417 #173A84 #84173A
tetradic
#3A8417 #177084 #611784 #842A17
square
#3A8417 #177084 #611784 #842A17
split-complementary
#3A8417 #2A1784 #841770
monochromatic
#0C1C05 #23500E #3A8417 #51B820 #6DDC39

Accessibility & contrast

On white

4.67
#3A8417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A8417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8417
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8417#FFFFFF#000000##FFFFFF
##3A84171.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#347F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8417;
/* rgb */ color: rgb(58, 132, 23);
/* oklch */ color: oklch(54.5% 0.157 138.1);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#3a8417',
    950: '#000000',
  },
}
SCSS
$custom: #3a8417;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8417",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 100.734,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.15701,
    "h": 138.1
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#3A8417
secondary
#913FB8
accent
#3BEDB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8417

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

Preview Lab → · Contrast checker → · Palette generator →

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