#3B8417#3B8417

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

Color values

HEX#3B8417
RGBrgb(59, 132, 23)
HSLhsl(100, 70%, 30%)
HSVhsv(100, 83%, 52%)
CMYKcmyk(55.3%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.88, -41.96, 47.37)
CIE-LCHlch(48.88, 63.28, 131.53°)
OKLaboklab(54.54% -0.1162 0.1049)
OKLCHoklch(54.54% 0.157 137.9)
XYZxyz(10.2092, 17.4934, 3.6490)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8417 #601784
analogous
#728417 #3B8417 #178429
triadic
#3B8417 #173B84 #84173B
tetradic
#3B8417 #177284 #601784 #842917
square
#3B8417 #177284 #601784 #842917
split-complementary
#3B8417 #291784 #841772
monochromatic
#0C1C05 #24500E #3B8417 #52B820 #6FDC39

Accessibility & contrast

On white

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

On black

4.50
#3B8417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3B8417#FFFFFF#000000##FFFFFF
##3B84171.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b8417;
/* rgb */ color: rgb(59, 132, 23);
/* oklch */ color: oklch(54.5% 0.157 137.9);
Tailwind
colors: {
  custom: {
    50: '#7aa85e',
    500: '#3b8417',
    950: '#000000',
  },
}
SCSS
$custom: #3b8417;
$custom-light: #7aa85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8417",
  "rgb": {
    "r": 59,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 100.183,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.15653,
    "h": 137.9
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#3B8417
secondary
#903FB8
accent
#3BEDB2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8417

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

Preview Lab → · Contrast checker → · Palette generator →

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