#145F2D#145F2D

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

Color values

HEX#145F2D
RGBrgb(20, 95, 45)
HSLhsl(140, 65%, 23%)
HSVhsv(140, 79%, 37%)
CMYKcmyk(78.9%, 0%, 52.6%, 62.7%)
CIE-LABlab(35.05, -34.53, 22.25)
CIE-LCHlch(35.05, 41.07, 147.20°)
OKLaboklab(42.85% -0.0928 0.0541)
OKLCHoklch(42.85% 0.107 149.8)
XYZxyz(4.8540, 8.5220, 3.8712)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2D #5F1446
analogous
#215F14 #145F2D #145F52
triadic
#145F2D #2D145F #5F2D14
tetradic
#145F2D #14215F #5F1446 #5F5214
square
#145F2D #14215F #5F1446 #5F5214
split-complementary
#145F2D #52145F #5F1421
monochromatic
#05190C #092C15 #145F2D #1F9245 #29C45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F2D#FFFFFF#000000##FFFFFF
##145F2D1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #145f2d;
/* rgb */ color: rgb(20, 95, 45);
/* oklch */ color: oklch(42.8% 0.107 149.8);
Tailwind
colors: {
  custom: {
    50: '#5f8d67',
    500: '#145f2d',
    950: '#000000',
  },
}
SCSS
$custom: #145f2d;
$custom-light: #5f8d67;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2d",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 45
  },
  "hsl": {
    "h": 140,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42845,
    "c": 0.10746,
    "h": 149.8
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#145F2D
secondary
#973877
accent
#40B0E8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #145F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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