#3B8A17#3B8A17

#3B8A17 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.164 H 138.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3B8A17
RGBrgb(59, 138, 23)
HSLhsl(101, 71%, 32%)
HSVhsv(101, 83%, 54%)
CMYKcmyk(57.2%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.88, -44.28, 49.23)
CIE-LCHlch(50.88, 66.22, 131.97°)
OKLaboklab(56.2% -0.1224 0.1088)
OKLCHoklch(56.2% 0.164 138.4)
XYZxyz(11.0464, 19.1677, 3.9281)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8A17 #66178A
analogous
#758A17 #3B8A17 #178A2C
triadic
#3B8A17 #173B8A #8A173B
tetradic
#3B8A17 #17758A #66178A #8A2C17
square
#3B8A17 #17758A #66178A #8A2C17
split-complementary
#3B8A17 #2C178A #8A1775
monochromatic
#0E2106 #25560E #3B8A17 #51BE20 #6FDF3D

Accessibility & contrast

On white

4.34
#3B8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3B8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8A17
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8A17#FFFFFF#000000##000000
##3B8A171.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#348575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3b8a17;
/* rgb */ color: rgb(59, 138, 23);
/* oklch */ color: oklch(56.2% 0.164 138.4);
Tailwind
colors: {
  custom: {
    50: '#7bad5f',
    500: '#3b8a17',
    950: '#000000',
  },
}
SCSS
$custom: #3b8a17;
$custom-light: #7bad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8a17",
  "rgb": {
    "r": 59,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 101.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.16377,
    "h": 138.4
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#3B8A17
secondary
#963FBE
accent
#3AEEB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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