#3B8A15#3B8A15

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

Color values

HEX#3B8A15
RGBrgb(59, 138, 21)
HSLhsl(101, 74%, 31%)
HSVhsv(101, 85%, 54%)
CMYKcmyk(57.2%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.87, -44.39, 49.79)
CIE-LCHlch(50.87, 66.70, 131.72°)
OKLaboklab(56.19% -0.1228 0.1097)
OKLCHoklch(56.19% 0.165 138.2)
XYZxyz(11.0271, 19.1600, 3.8265)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8A15 #64158A
analogous
#758A15 #3B8A15 #158A29
triadic
#3B8A15 #153B8A #8A153B
tetradic
#3B8A15 #15758A #64158A #8A2915
square
#3B8A15 #15758A #64158A #8A2915
split-complementary
#3B8A15 #29158A #8A1575
monochromatic
#0E2005 #24550D #3B8A15 #52BF1D #6FE139

Accessibility & contrast

On white

4.35
#3B8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B8A15#FFFFFF#000000##000000
##3B8A151.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b8a15;
/* rgb */ color: rgb(59, 138, 21);
/* oklch */ color: oklch(56.2% 0.165 138.2);
Tailwind
colors: {
  custom: {
    50: '#7bad5f',
    500: '#3b8a15',
    950: '#000000',
  },
}
SCSS
$custom: #3b8a15;
$custom-light: #7bad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8a15",
  "rgb": {
    "r": 59,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 100.513,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.16464,
    "h": 138.2
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#3B8A15
secondary
#943DBE
accent
#38F0B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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