#145F20#145F20

#145F20 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.120 H 145.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#145F20
RGBrgb(20, 95, 32)
HSLhsl(130, 65%, 23%)
HSVhsv(130, 79%, 37%)
CMYKcmyk(78.9%, 0%, 66.3%, 62.7%)
CIE-LABlab(34.88, -36.54, 29.04)
CIE-LCHlch(34.88, 46.68, 141.53°)
OKLaboklab(42.65% -0.0986 0.068)
OKLCHoklch(42.65% 0.12 145.4)
XYZxyz(4.6411, 8.4369, 2.7501)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F20 #5F1453
analogous
#2E5F14 #145F20 #145F45
triadic
#145F20 #20145F #5F2014
tetradic
#145F20 #142E5F #5F1453 #5F4514
square
#145F20 #142E5F #5F1453 #5F4514
split-complementary
#145F20 #45145F #5F142E
monochromatic
#051909 #092C0F #145F20 #1F9231 #29C442

Accessibility & contrast

On white

7.81
#145F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#145F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F20
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F20#FFFFFF#000000##FFFFFF
##145F201.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f20;
/* rgb */ color: rgb(20, 95, 32);
/* oklch */ color: oklch(42.6% 0.120 145.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d5e',
    500: '#145f20',
    950: '#000000',
  },
}
SCSS
$custom: #145f20;
$custom-light: #5f8d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#145f20",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 32
  },
  "hsl": {
    "h": 129.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.11978,
    "h": 145.4
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#145F20
secondary
#973887
accent
#40CDE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145F20

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

Preview Lab → · Contrast checker → · Palette generator →

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