#145C12#145C12

#145C12 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.6% C 0.126 H 142.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#145C12
RGBrgb(20, 92, 18)
HSLhsl(118, 67%, 22%)
HSVhsv(118, 80%, 36%)
CMYKcmyk(78.3%, 0%, 80.4%, 63.9%)
CIE-LABlab(33.66, -36.94, 34.08)
CIE-LCHlch(33.66, 50.26, 137.31°)
OKLaboklab(41.6% -0.1004 0.0768)
OKLCHoklch(41.6% 0.126 142.6)
XYZxyz(4.2246, 7.8462, 1.8640)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145C12 #5A125C
analogous
#395C12 #145C12 #125C35
triadic
#145C12 #12145C #5C1214
tetradic
#145C12 #12395C #5A125C #5C3512
square
#145C12 #12395C #5A125C #5C3512
split-complementary
#145C12 #35125C #5C1239
monochromatic
#061A05 #092908 #145C12 #1F8F1C #2AC226

Accessibility & contrast

On white

8.17
#145C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#145C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145C12
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145C12#FFFFFF#000000##FFFFFF
##145C121.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #145c12;
/* rgb */ color: rgb(20, 92, 18);
/* oklch */ color: oklch(41.6% 0.126 142.6);
Tailwind
colors: {
  custom: {
    50: '#5f8b56',
    500: '#145c12',
    950: '#000000',
  },
}
SCSS
$custom: #145c12;
$custom-light: #5f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#145c12",
  "rgb": {
    "r": 20,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 118.378,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41599,
    "c": 0.1264,
    "h": 142.6
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#145C12
secondary
#923594
accent
#3EEAE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #145C12

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

Preview Lab → · Contrast checker → · Palette generator →

#145C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva