#3B8915#3B8915

#3B8915 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.163 H 138.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3B8915
RGBrgb(59, 137, 21)
HSLhsl(100, 73%, 31%)
HSVhsv(100, 85%, 54%)
CMYKcmyk(56.9%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.54, -44.01, 49.49)
CIE-LCHlch(50.54, 66.22, 131.64°)
OKLaboklab(55.91% -0.1218 0.109)
OKLCHoklch(55.91% 0.163 138.2)
XYZxyz(10.8843, 18.8744, 3.7789)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8915 #631589
analogous
#758915 #3B8915 #158929
triadic
#3B8915 #153B89 #89153B
tetradic
#3B8915 #157589 #631589 #892915
square
#3B8915 #157589 #631589 #892915
split-complementary
#3B8915 #291589 #891575
monochromatic
#0D1F05 #24540D #3B8915 #52BE1D #6FE038

Accessibility & contrast

On white

4.40
#3B8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3B8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8915
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8915#FFFFFF#000000##000000
##3B89151.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#348474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3b8915;
/* rgb */ color: rgb(59, 137, 21);
/* oklch */ color: oklch(55.9% 0.163 138.2);
Tailwind
colors: {
  custom: {
    50: '#7bac5f',
    500: '#3b8915',
    950: '#000000',
  },
}
SCSS
$custom: #3b8915;
$custom-light: #7bac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8915",
  "rgb": {
    "r": 59,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 100.345,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.16345,
    "h": 138.2
  },
  "luminance": 0.18875
}

Semantic roles & 50–950 ramp

primary
#3B8915
secondary
#933DBD
accent
#38F0B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8915

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

Preview Lab → · Contrast checker → · Palette generator →

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