#145F38#145F38

#145F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.096 H 155.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#145F38
RGBrgb(20, 95, 56)
HSLhsl(149, 65%, 23%)
HSVhsv(149, 79%, 37%)
CMYKcmyk(78.9%, 0%, 41.1%, 62.7%)
CIE-LABlab(35.24, -32.34, 16.08)
CIE-LCHlch(35.24, 36.12, 153.56°)
OKLaboklab(43.07% -0.0873 0.0402)
OKLCHoklch(43.07% 0.096 155.3)
XYZxyz(5.0940, 8.6181, 5.1356)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F38 #5F143B
analogous
#165F14 #145F38 #145F5D
triadic
#145F38 #38145F #5F3814
tetradic
#145F38 #14165F #5F143B #5F5D14
square
#145F38 #14165F #5F143B #5F5D14
split-complementary
#145F38 #5D145F #5F1416
monochromatic
#05190F #092C1A #145F38 #1F9256 #29C474

Accessibility & contrast

On white

7.71
#145F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#145F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F38
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F38#FFFFFF#000000##FFFFFF
##145F381.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#56503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #145f38;
/* rgb */ color: rgb(20, 95, 56);
/* oklch */ color: oklch(43.1% 0.096 155.3);
Tailwind
colors: {
  custom: {
    50: '#5e8d6f',
    500: '#145f38',
    950: '#000000',
  },
}
SCSS
$custom: #145f38;
$custom-light: #5e8d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#145f38",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 56
  },
  "hsl": {
    "h": 148.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43065,
    "c": 0.0961,
    "h": 155.3
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#145F38
secondary
#973869
accent
#4097E8
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #145F38

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

Preview Lab → · Contrast checker → · Palette generator →

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