#145F2C#145F2C

#145F2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.108 H 149.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#145F2C
RGBrgb(20, 95, 44)
HSLhsl(139, 65%, 23%)
HSVhsv(139, 79%, 37%)
CMYKcmyk(78.9%, 0%, 53.7%, 62.7%)
CIE-LABlab(35.03, -34.70, 22.79)
CIE-LCHlch(35.03, 41.52, 146.70°)
OKLaboklab(42.83% -0.0933 0.0553)
OKLCHoklch(42.83% 0.108 149.4)
XYZxyz(4.8349, 8.5144, 3.7710)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2C #5F1447
analogous
#225F14 #145F2C #145F51
triadic
#145F2C #2C145F #5F2C14
tetradic
#145F2C #14225F #5F1447 #5F5114
square
#145F2C #14225F #5F1447 #5F5114
split-complementary
#145F2C #51145F #5F1422
monochromatic
#05190C #092C15 #145F2C #1F9243 #29C45B

Accessibility & contrast

On white

7.77
#145F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#145F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F2C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F2C#FFFFFF#000000##FFFFFF
##145F2C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f2c;
/* rgb */ color: rgb(20, 95, 44);
/* oklch */ color: oklch(42.8% 0.108 149.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d66',
    500: '#145f2c',
    950: '#000000',
  },
}
SCSS
$custom: #145f2c;
$custom-light: #5f8d66;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2c",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 44
  },
  "hsl": {
    "h": 139.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.10846,
    "h": 149.4
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#145F2C
secondary
#973878
accent
#40B2E8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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