#145D18#145D18

#145D18 is a dark, vivid green. Relative luminance 0.080; OKLCH L 42.0% C 0.124 H 143.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#145D18
RGBrgb(20, 93, 24)
HSLhsl(123, 65%, 22%)
HSVhsv(123, 78%, 36%)
CMYKcmyk(78.5%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.07, -36.74, 31.97)
CIE-LCHlch(34.07, 48.70, 138.97°)
OKLaboklab(41.96% -0.0995 0.0733)
OKLCHoklch(41.96% 0.124 143.6)
XYZxyz(4.3674, 8.0429, 2.1862)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145D18 #5D1459
analogous
#345D14 #145D18 #145D3D
triadic
#145D18 #18145D #5D1814
tetradic
#145D18 #14345D #5D1459 #5D3D14
square
#145D18 #14345D #5D1459 #5D3D14
split-complementary
#145D18 #3D145D #5D1434
monochromatic
#051906 #092B0B #145D18 #1F8F25 #2AC232

Accessibility & contrast

On white

8.05
#145D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#145D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145D18
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145D18#FFFFFF#000000##FFFFFF
##145D181.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#005A4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #145d18;
/* rgb */ color: rgb(20, 93, 24);
/* oklch */ color: oklch(42.0% 0.124 143.6);
Tailwind
colors: {
  custom: {
    50: '#5f8c59',
    500: '#145d18',
    950: '#000000',
  },
}
SCSS
$custom: #145d18;
$custom-light: #5f8c59;
$custom-dark: #000000;
JSON
{
  "hex": "#145d18",
  "rgb": {
    "r": 20,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 123.288,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41956,
    "c": 0.12358,
    "h": 143.6
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#145D18
secondary
#953890
accent
#40DEE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145D18

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

Preview Lab → · Contrast checker → · Palette generator →

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