#145F2A#145F2A

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

Color values

HEX#145F2A
RGBrgb(20, 95, 42)
HSLhsl(138, 65%, 23%)
HSVhsv(138, 79%, 37%)
CMYKcmyk(78.9%, 0%, 55.8%, 62.7%)
CIE-LABlab(35.00, -35.05, 23.88)
CIE-LCHlch(35.00, 42.41, 145.74°)
OKLaboklab(42.79% -0.0943 0.0576)
OKLCHoklch(42.79% 0.11 148.6)
XYZxyz(4.7982, 8.4998, 3.5778)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F2A #5F1449
analogous
#245F14 #145F2A #145F4F
triadic
#145F2A #2A145F #5F2A14
tetradic
#145F2A #14245F #5F1449 #5F4F14
square
#145F2A #14245F #5F1449 #5F4F14
split-complementary
#145F2A #4F145F #5F1424
monochromatic
#05190B #092C14 #145F2A #1F9240 #29C457

Accessibility & contrast

On white

7.78
#145F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145F2A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F2A#FFFFFF#000000##FFFFFF
##145F2A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #145f2a;
/* rgb */ color: rgb(20, 95, 42);
/* oklch */ color: oklch(42.8% 0.110 148.6);
Tailwind
colors: {
  custom: {
    50: '#5f8d65',
    500: '#145f2a',
    950: '#000000',
  },
}
SCSS
$custom: #145f2a;
$custom-light: #5f8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#145f2a",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 137.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.11046,
    "h": 148.6
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#145F2A
secondary
#97387B
accent
#40B7E8
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #145F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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