#3B8817#3B8817

#3B8817 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.161 H 138.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3B8817
RGBrgb(59, 136, 23)
HSLhsl(101, 71%, 31%)
HSVhsv(101, 83%, 53%)
CMYKcmyk(56.6%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.21, -43.52, 48.61)
CIE-LCHlch(50.21, 65.25, 131.83°)
OKLaboklab(55.65% -0.1204 0.1075)
OKLCHoklch(55.65% 0.161 138.2)
XYZxyz(10.7621, 18.5991, 3.8333)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8817 #641788
analogous
#738817 #3B8817 #17882B
triadic
#3B8817 #173B88 #88173B
tetradic
#3B8817 #177388 #641788 #882B17
square
#3B8817 #177388 #641788 #882B17
split-complementary
#3B8817 #2B1788 #881773
monochromatic
#0E1F05 #24540E #3B8817 #52BC20 #6FDE3B

Accessibility & contrast

On white

4.45
#3B8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3B8817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8817
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8817#FFFFFF#000000##000000
##3B88171.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#348373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3b8817;
/* rgb */ color: rgb(59, 136, 23);
/* oklch */ color: oklch(55.6% 0.161 138.2);
Tailwind
colors: {
  custom: {
    50: '#7aab5f',
    500: '#3b8817',
    950: '#000000',
  },
}
SCSS
$custom: #3b8817;
$custom-light: #7aab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8817",
  "rgb": {
    "r": 59,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 100.885,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55645,
    "c": 0.16138,
    "h": 138.2
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#3B8817
secondary
#943FBC
accent
#3AEEB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8817

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

Preview Lab → · Contrast checker → · Palette generator →

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