#145F2B#145F2B

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

Color values

HEX#145F2B
RGBrgb(20, 95, 43)
HSLhsl(138, 65%, 23%)
HSVhsv(138, 79%, 37%)
CMYKcmyk(78.9%, 0%, 54.7%, 62.7%)
CIE-LABlab(35.02, -34.88, 23.34)
CIE-LCHlch(35.02, 41.96, 146.21°)
OKLaboklab(42.81% -0.0938 0.0564)
OKLCHoklch(42.81% 0.109 149)
XYZxyz(4.8164, 8.5070, 3.6732)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2B #5F1448
analogous
#235F14 #145F2B #145F50
triadic
#145F2B #2B145F #5F2B14
tetradic
#145F2B #14235F #5F1448 #5F5014
square
#145F2B #14235F #5F1448 #5F5014
split-complementary
#145F2B #50145F #5F1423
monochromatic
#05190B #092C14 #145F2B #1F9242 #29C459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F2B#FFFFFF#000000##FFFFFF
##145F2B1.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)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f2b;
/* rgb */ color: rgb(20, 95, 43);
/* oklch */ color: oklch(42.8% 0.109 149.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d65',
    500: '#145f2b',
    950: '#000000',
  },
}
SCSS
$custom: #145f2b;
$custom-light: #5f8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2b",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 43
  },
  "hsl": {
    "h": 138.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.10947,
    "h": 149
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#145F2B
secondary
#97387A
accent
#40B4E8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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