#145F28#145F28

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

Color values

HEX#145F28
RGBrgb(20, 95, 40)
HSLhsl(136, 65%, 23%)
HSVhsv(136, 79%, 37%)
CMYKcmyk(78.9%, 0%, 57.9%, 62.7%)
CIE-LABlab(34.97, -35.38, 24.94)
CIE-LCHlch(34.97, 43.29, 144.81°)
OKLaboklab(42.76% -0.0952 0.0598)
OKLCHoklch(42.76% 0.112 147.9)
XYZxyz(4.7633, 8.4858, 3.3940)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F28 #5F144B
analogous
#265F14 #145F28 #145F4D
triadic
#145F28 #28145F #5F2814
tetradic
#145F28 #14265F #5F144B #5F4D14
square
#145F28 #14265F #5F144B #5F4D14
split-complementary
#145F28 #4D145F #5F1426
monochromatic
#05190B #092C13 #145F28 #1F923D #29C453

Accessibility & contrast

On white

7.79
#145F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145F28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F28#FFFFFF#000000##FFFFFF
##145F281.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605623
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f28;
/* rgb */ color: rgb(20, 95, 40);
/* oklch */ color: oklch(42.8% 0.112 147.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d63',
    500: '#145f28',
    950: '#000000',
  },
}
SCSS
$custom: #145f28;
$custom-light: #5f8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#145f28",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 136,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.11242,
    "h": 147.9
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#145F28
secondary
#97387D
accent
#40BBE8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #145F28

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

Preview Lab → · Contrast checker → · Palette generator →

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