#145B1C#145B1C

#145B1C is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.118 H 144.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#145B1C
RGBrgb(20, 91, 28)
HSLhsl(127, 64%, 22%)
HSVhsv(127, 78%, 36%)
CMYKcmyk(78%, 0%, 69.2%, 64.3%)
CIE-LABlab(33.38, -35.53, 29.34)
CIE-LCHlch(33.38, 46.08, 140.45°)
OKLaboklab(41.39% -0.096 0.0682)
OKLCHoklch(41.39% 0.118 144.6)
XYZxyz(4.2389, 7.7143, 2.3640)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145B1C #5B1453
analogous
#305B14 #145B1C #145B40
triadic
#145B1C #1C145B #5B1C14
tetradic
#145B1C #14305B #5B1453 #5B4014
square
#145B1C #14305B #5B1453 #5B4014
split-complementary
#145B1C #40145B #5B1430
monochromatic
#061908 #09290D #145B1C #1F8D2B #2ABF3B

Accessibility & contrast

On white

8.26
#145B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#145B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145B1C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145B1C#FFFFFF#000000##FFFFFF
##145B1C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5214
Deuteranopia (green-blind)
#554C22
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #145b1c;
/* rgb */ color: rgb(20, 91, 28);
/* oklch */ color: oklch(41.4% 0.118 144.6);
Tailwind
colors: {
  custom: {
    50: '#5e8a5b',
    500: '#145b1c',
    950: '#000000',
  },
}
SCSS
$custom: #145b1c;
$custom-light: #5e8a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#145b1c",
  "rgb": {
    "r": 20,
    "g": 91,
    "b": 28
  },
  "hsl": {
    "h": 126.761,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.11781,
    "h": 144.6
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#145B1C
secondary
#933889
accent
#41D4E7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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