#145F27#145F27

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

Color values

HEX#145F27
RGBrgb(20, 95, 39)
HSLhsl(135, 65%, 23%)
HSVhsv(135, 79%, 37%)
CMYKcmyk(78.9%, 0%, 58.9%, 62.7%)
CIE-LABlab(34.96, -35.54, 25.47)
CIE-LCHlch(34.96, 43.72, 144.37°)
OKLaboklab(42.75% -0.0956 0.0609)
OKLCHoklch(42.75% 0.113 147.5)
XYZxyz(4.7465, 8.4791, 3.3055)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F27 #5F144C
analogous
#275F14 #145F27 #145F4C
triadic
#145F27 #27145F #5F2714
tetradic
#145F27 #14275F #5F144C #5F4C14
square
#145F27 #14275F #5F144C #5F4C14
split-complementary
#145F27 #4C145F #5F1427
monochromatic
#05190A #092C12 #145F27 #1F923C #29C451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F27#FFFFFF#000000##FFFFFF
##145F271.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)
#605622
Deuteranopia (green-blind)
#57502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f27;
/* rgb */ color: rgb(20, 95, 39);
/* oklch */ color: oklch(42.7% 0.113 147.5);
Tailwind
colors: {
  custom: {
    50: '#5f8d63',
    500: '#145f27',
    950: '#000000',
  },
}
SCSS
$custom: #145f27;
$custom-light: #5f8d63;
$custom-dark: #000000;
JSON
{
  "hex": "#145f27",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 135.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.11338,
    "h": 147.5
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#145F27
secondary
#97387F
accent
#40BDE8
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #145F27

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

Preview Lab → · Contrast checker → · Palette generator →

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