#145A1F#145A1F

#145A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.1% C 0.114 H 145.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#145A1F
RGBrgb(20, 90, 31)
HSLhsl(129, 64%, 22%)
HSVhsv(129, 78%, 35%)
CMYKcmyk(77.8%, 0%, 65.6%, 64.7%)
CIE-LABlab(33.05, -34.76, 27.46)
CIE-LCHlch(33.05, 44.30, 141.69°)
OKLaboklab(41.13% -0.0938 0.0645)
OKLCHoklch(41.13% 0.114 145.5)
XYZxyz(4.1917, 7.5595, 2.5343)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145A1F #5A144F
analogous
#2C5A14 #145A1F #145A42
triadic
#145A1F #1F145A #5A1F14
tetradic
#145A1F #142C5A #5A144F #5A4214
square
#145A1F #142C5A #5A144F #5A4214
split-complementary
#145A1F #42145A #5A142C
monochromatic
#061909 #09280E #145A1F #1F8C30 #2ABE41

Accessibility & contrast

On white

8.36
#145A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#145A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145A1F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145A1F#FFFFFF#000000##FFFFFF
##145A1F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#534C24
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #145a1f;
/* rgb */ color: rgb(20, 90, 31);
/* oklch */ color: oklch(41.1% 0.114 145.5);
Tailwind
colors: {
  custom: {
    50: '#5e895d',
    500: '#145a1f',
    950: '#000000',
  },
}
SCSS
$custom: #145a1f;
$custom-light: #5e895d;
$custom-dark: #000000;
JSON
{
  "hex": "#145a1f",
  "rgb": {
    "r": 20,
    "g": 90,
    "b": 31
  },
  "hsl": {
    "h": 129.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.11386,
    "h": 145.5
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#145A1F
secondary
#923884
accent
#41CDE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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