#3B8F12#3B8F12

#3B8F12 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.172 H 138.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3B8F12
RGBrgb(59, 143, 18)
HSLhsl(100, 78%, 32%)
HSVhsv(100, 87%, 56%)
CMYKcmyk(58.7%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.53, -46.41, 52.04)
CIE-LCHlch(52.53, 69.73, 131.73°)
OKLaboklab(57.55% -0.1283 0.114)
OKLCHoklch(57.55% 0.172 138.4)
XYZxyz(11.7348, 20.6174, 3.9333)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8F12 #66128F
analogous
#7A8F12 #3B8F12 #128F28
triadic
#3B8F12 #123B8F #8F123B
tetradic
#3B8F12 #127A8F #66128F #8F2812
square
#3B8F12 #127A8F #66128F #8F2812
split-complementary
#3B8F12 #28128F #8F127A
monochromatic
#0E2204 #25590B #3B8F12 #51C519 #6FE636

Accessibility & contrast

On white

4.10
#3B8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3B8F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8F12
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8F12#FFFFFF#000000##000000
##3B8F121.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#338A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3b8f12;
/* rgb */ color: rgb(59, 143, 18);
/* oklch */ color: oklch(57.5% 0.172 138.4);
Tailwind
colors: {
  custom: {
    50: '#7cb15e',
    500: '#3b8f12',
    950: '#000000',
  },
}
SCSS
$custom: #3b8f12;
$custom-light: #7cb15e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8f12",
  "rgb": {
    "r": 59,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 100.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.17165,
    "h": 138.4
  },
  "luminance": 0.20618
}

Semantic roles & 50–950 ramp

primary
#3B8F12
secondary
#963AC3
accent
#34F4B5
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #3B8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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