#145F2E#145F2E

#145F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.106 H 150.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#145F2E
RGBrgb(20, 95, 46)
HSLhsl(141, 65%, 23%)
HSVhsv(141, 79%, 37%)
CMYKcmyk(78.9%, 0%, 51.6%, 62.7%)
CIE-LABlab(35.06, -34.35, 21.70)
CIE-LCHlch(35.06, 40.63, 147.72°)
OKLaboklab(42.86% -0.0924 0.0529)
OKLCHoklch(42.86% 0.106 150.2)
XYZxyz(4.8734, 8.5298, 3.9738)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2E #5F1445
analogous
#205F14 #145F2E #145F53
triadic
#145F2E #2E145F #5F2E14
tetradic
#145F2E #14205F #5F1445 #5F5314
square
#145F2E #14205F #5F1445 #5F5314
split-complementary
#145F2E #53145F #5F1420
monochromatic
#05190C #092C16 #145F2E #1F9246 #29C45F

Accessibility & contrast

On white

7.76
#145F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#145F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F2E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F2E#FFFFFF#000000##FFFFFF
##145F2E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f2e;
/* rgb */ color: rgb(20, 95, 46);
/* oklch */ color: oklch(42.9% 0.106 150.2);
Tailwind
colors: {
  custom: {
    50: '#5f8d67',
    500: '#145f2e',
    950: '#000000',
  },
}
SCSS
$custom: #145f2e;
$custom-light: #5f8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2e",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 46
  },
  "hsl": {
    "h": 140.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42863,
    "c": 0.10644,
    "h": 150.2
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#145F2E
secondary
#973876
accent
#40AEE8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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