#3B8B18#3B8B18

#3B8B18 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.165 H 138.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3B8B18
RGBrgb(59, 139, 24)
HSLhsl(102, 71%, 32%)
HSVhsv(102, 83%, 55%)
CMYKcmyk(57.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.22, -44.61, 49.25)
CIE-LCHlch(51.22, 66.45, 132.17°)
OKLaboklab(56.48% -0.1232 0.109)
OKLCHoklch(56.48% 0.165 138.5)
XYZxyz(11.2007, 19.4601, 4.0299)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8B18 #68188B
analogous
#758B18 #3B8B18 #188B2F
triadic
#3B8B18 #183B8B #8B183B
tetradic
#3B8B18 #18758B #68188B #8B2F18
square
#3B8B18 #18758B #68188B #8B2F18
split-complementary
#3B8B18 #2F188B #8B1875
monochromatic
#0F2306 #25570F #3B8B18 #51BF21 #70DE3F

Accessibility & contrast

On white

4.29
#3B8B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3B8B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8B18
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8B18#FFFFFF#000000##000000
##3B8B181.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#857826
Tritanopia (blue-blind)
#338676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3b8b18;
/* rgb */ color: rgb(59, 139, 24);
/* oklch */ color: oklch(56.5% 0.165 138.5);
Tailwind
colors: {
  custom: {
    50: '#7bae60',
    500: '#3b8b18',
    950: '#000000',
  },
}
SCSS
$custom: #3b8b18;
$custom-light: #7bae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8b18",
  "rgb": {
    "r": 59,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 101.739,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.16451,
    "h": 138.5
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#3B8B18
secondary
#9840BE
accent
#3AEDB7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8B18

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

Preview Lab → · Contrast checker → · Palette generator →

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