#145C1B#145C1B

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

Color values

HEX#145C1B
RGBrgb(20, 92, 27)
HSLhsl(126, 64%, 22%)
HSVhsv(126, 78%, 36%)
CMYKcmyk(78.3%, 0%, 70.7%, 63.9%)
CIE-LABlab(33.74, -36.03, 30.22)
CIE-LCHlch(33.74, 47.03, 140.01°)
OKLaboklab(41.69% -0.0974 0.07)
OKLCHoklch(41.69% 0.12 144.3)
XYZxyz(4.3132, 7.8817, 2.3307)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145C1B #5C1455
analogous
#315C14 #145C1B #145C3F
triadic
#145C1B #1B145C #5C1B14
tetradic
#145C1B #14315C #5C1455 #5C3F14
square
#145C1B #14315C #5C1455 #5C3F14
split-complementary
#145C1B #3F145C #5C1431
monochromatic
#051907 #092A0C #145C1B #1F8E2A #2AC139

Accessibility & contrast

On white

8.15
#145C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145C1B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145C1B#FFFFFF#000000##FFFFFF
##145C1B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #145c1b;
/* rgb */ color: rgb(20, 92, 27);
/* oklch */ color: oklch(41.7% 0.120 144.3);
Tailwind
colors: {
  custom: {
    50: '#5f8b5b',
    500: '#145c1b',
    950: '#000000',
  },
}
SCSS
$custom: #145c1b;
$custom-light: #5f8b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#145c1b",
  "rgb": {
    "r": 20,
    "g": 92,
    "b": 27
  },
  "hsl": {
    "h": 125.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.11996,
    "h": 144.3
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#145C1B
secondary
#94388B
accent
#41D7E7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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