#145F2F#145F2F

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

Color values

HEX#145F2F
RGBrgb(20, 95, 47)
HSLhsl(142, 65%, 23%)
HSVhsv(142, 79%, 37%)
CMYKcmyk(78.9%, 0%, 50.5%, 62.7%)
CIE-LABlab(35.08, -34.16, 21.15)
CIE-LCHlch(35.08, 40.18, 148.24°)
OKLaboklab(42.88% -0.0919 0.0517)
OKLCHoklch(42.88% 0.105 150.6)
XYZxyz(4.8934, 8.5378, 4.0788)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2F #5F1444
analogous
#1F5F14 #145F2F #145F54
triadic
#145F2F #2F145F #5F2F14
tetradic
#145F2F #141F5F #5F1444 #5F5414
square
#145F2F #141F5F #5F1444 #5F5414
split-complementary
#145F2F #54145F #5F141F
monochromatic
#05190D #092C16 #145F2F #1F9248 #29C461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F2F#FFFFFF#000000##FFFFFF
##145F2F1.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)
#5F562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f2f;
/* rgb */ color: rgb(20, 95, 47);
/* oklch */ color: oklch(42.9% 0.105 150.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d68',
    500: '#145f2f',
    950: '#000000',
  },
}
SCSS
$custom: #145f2f;
$custom-light: #5f8d68;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2f",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 47
  },
  "hsl": {
    "h": 141.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.10541,
    "h": 150.6
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#145F2F
secondary
#973875
accent
#40ABE8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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