#145D1F#145D1F

#145D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.0% C 0.118 H 145.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#145D1F
RGBrgb(20, 93, 31)
HSLhsl(129, 65%, 22%)
HSVhsv(129, 78%, 36%)
CMYKcmyk(78.5%, 0%, 66.7%, 63.5%)
CIE-LABlab(34.14, -35.91, 28.71)
CIE-LCHlch(34.14, 45.98, 141.36°)
OKLaboklab(42.03% -0.0969 0.0672)
OKLCHoklch(42.03% 0.118 145.3)
XYZxyz(4.4499, 8.0758, 2.6203)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145D1F #5D1452
analogous
#2E5D14 #145D1F #145D44
triadic
#145D1F #1F145D #5D1F14
tetradic
#145D1F #142E5D #5D1452 #5D4414
square
#145D1F #142E5D #5D1452 #5D4414
split-complementary
#145D1F #44145D #5D142E
monochromatic
#051908 #092B0E #145D1F #1F8F30 #2AC241

Accessibility & contrast

On white

8.03
#145D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#145D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145D1F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145D1F#FFFFFF#000000##FFFFFF
##145D1F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #145d1f;
/* rgb */ color: rgb(20, 93, 31);
/* oklch */ color: oklch(42.0% 0.118 145.3);
Tailwind
colors: {
  custom: {
    50: '#5f8c5d',
    500: '#145d1f',
    950: '#000000',
  },
}
SCSS
$custom: #145d1f;
$custom-light: #5f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#145d1f",
  "rgb": {
    "r": 20,
    "g": 93,
    "b": 31
  },
  "hsl": {
    "h": 129.041,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.11796,
    "h": 145.3
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#145D1F
secondary
#953887
accent
#40CEE8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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