#145F31#145F31

#145F31 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.103 H 151.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#145F31
RGBrgb(20, 95, 49)
HSLhsl(143, 65%, 23%)
HSVhsv(143, 79%, 37%)
CMYKcmyk(78.9%, 0%, 48.4%, 62.7%)
CIE-LABlab(35.11, -33.78, 20.04)
CIE-LCHlch(35.11, 39.28, 149.33°)
OKLaboklab(42.92% -0.0909 0.0492)
OKLCHoklch(42.92% 0.103 151.6)
XYZxyz(4.9347, 8.5543, 4.2962)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F31 #5F1442
analogous
#1D5F14 #145F31 #145F56
triadic
#145F31 #31145F #5F3114
tetradic
#145F31 #141D5F #5F1442 #5F5614
square
#145F31 #141D5F #5F1442 #5F5614
split-complementary
#145F31 #56145F #5F141D
monochromatic
#05190D #092C17 #145F31 #1F924B #29C465

Accessibility & contrast

On white

7.75
#145F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145F31
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F31#FFFFFF#000000##FFFFFF
##145F311.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #145f31;
/* rgb */ color: rgb(20, 95, 49);
/* oklch */ color: oklch(42.9% 0.103 151.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d6a',
    500: '#145f31',
    950: '#000000',
  },
}
SCSS
$custom: #145f31;
$custom-light: #5f8d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#145f31",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 143.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.10336,
    "h": 151.6
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#145F31
secondary
#973872
accent
#40A7E8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F31

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

Preview Lab → · Contrast checker → · Palette generator →

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