#145C1F#145C1F

#145C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.7% C 0.117 H 145.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#145C1F
RGBrgb(20, 92, 31)
HSLhsl(129, 64%, 22%)
HSVhsv(129, 78%, 36%)
CMYKcmyk(78.3%, 0%, 66.3%, 63.9%)
CIE-LABlab(33.78, -35.53, 28.29)
CIE-LCHlch(33.78, 45.42, 141.47°)
OKLaboklab(41.73% -0.0959 0.0663)
OKLCHoklch(41.73% 0.117 145.3)
XYZxyz(4.3627, 7.9014, 2.5913)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145C1F #5C1451
analogous
#2D5C14 #145C1F #145C43
triadic
#145C1F #1F145C #5C1F14
tetradic
#145C1F #142D5C #5C1451 #5C4314
square
#145C1F #142D5C #5C1451 #5C4314
split-complementary
#145C1F #43145C #5C142D
monochromatic
#051908 #092A0E #145C1F #1F8E30 #2AC141

Accessibility & contrast

On white

8.14
#145C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#145C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145C1F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145C1F#FFFFFF#000000##FFFFFF
##145C1F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #145c1f;
/* rgb */ color: rgb(20, 92, 31);
/* oklch */ color: oklch(41.7% 0.117 145.3);
Tailwind
colors: {
  custom: {
    50: '#5e8b5d',
    500: '#145c1f',
    950: '#000000',
  },
}
SCSS
$custom: #145c1f;
$custom-light: #5e8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#145c1f",
  "rgb": {
    "r": 20,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 129.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.1166,
    "h": 145.3
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#145C1F
secondary
#943886
accent
#41CEE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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