#145E1F#145E1F

#145E1F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.3% C 0.119 H 145.2°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#145E1F
RGBrgb(20, 94, 31)
HSLhsl(129, 65%, 22%)
HSVhsv(129, 79%, 37%)
CMYKcmyk(78.7%, 0%, 67%, 63.1%)
CIE-LABlab(34.50, -36.29, 29.12)
CIE-LCHlch(34.50, 46.53, 141.26°)
OKLaboklab(42.34% -0.098 0.0681)
OKLCHoklch(42.34% 0.119 145.2)
XYZxyz(4.5382, 8.2525, 2.6498)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145E1F #5E1453
analogous
#2E5E14 #145E1F #145E44
triadic
#145E1F #1F145E #5E1F14
tetradic
#145E1F #142E5E #5E1453 #5E4414
square
#145E1F #142E5E #5E1453 #5E4414
split-complementary
#145E1F #44145E #5E142E
monochromatic
#051908 #092C0E #145E1F #1F9030 #29C340

Accessibility & contrast

On white

7.92
#145E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#145E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145E1F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145E1F#FFFFFF#000000##FFFFFF
##145E1F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #145e1f;
/* rgb */ color: rgb(20, 94, 31);
/* oklch */ color: oklch(42.3% 0.119 145.2);
Tailwind
colors: {
  custom: {
    50: '#5f8c5d',
    500: '#145e1f',
    950: '#000000',
  },
}
SCSS
$custom: #145e1f;
$custom-light: #5f8c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#145e1f",
  "rgb": {
    "r": 20,
    "g": 94,
    "b": 31
  },
  "hsl": {
    "h": 128.919,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42335,
    "c": 0.1193,
    "h": 145.2
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#145E1F
secondary
#963888
accent
#40CFE8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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