#3B8218#3B8218

#3B8218 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.154 H 137.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3B8218
RGBrgb(59, 130, 24)
HSLhsl(100, 69%, 30%)
HSVhsv(100, 82%, 51%)
CMYKcmyk(54.6%, 0%, 81.5%, 49%)
CIE-LABlab(48.21, -41.11, 46.44)
CIE-LCHlch(48.21, 62.02, 131.52°)
OKLaboklab(53.99% -0.1139 0.1031)
OKLCHoklch(53.99% 0.154 137.8)
XYZxyz(9.9508, 16.9602, 3.6133)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8218 #5F1882
analogous
#708218 #3B8218 #18822A
triadic
#3B8218 #183B82 #82183B
tetradic
#3B8218 #187082 #5F1882 #822A18
square
#3B8218 #187082 #5F1882 #822A18
split-complementary
#3B8218 #2A1882 #821870
monochromatic
#0C1B05 #244E0E #3B8218 #52B622 #6FDB3A

Accessibility & contrast

On white

4.78
#3B8218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3B8218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8218
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8218#FFFFFF#000000##FFFFFF
##3B82181.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#357D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b8218;
/* rgb */ color: rgb(59, 130, 24);
/* oklch */ color: oklch(54.0% 0.154 137.8);
Tailwind
colors: {
  custom: {
    50: '#79a75f',
    500: '#3b8218',
    950: '#000000',
  },
}
SCSS
$custom: #3b8218;
$custom-light: #79a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8218",
  "rgb": {
    "r": 59,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 100.189,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.15359,
    "h": 137.8
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#3B8218
secondary
#8F40B6
accent
#3CECB2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8218

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

Preview Lab → · Contrast checker → · Palette generator →

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