#145F1F#145F1F

#145F1F is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.121 H 145.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#145F1F
RGBrgb(20, 95, 31)
HSLhsl(129, 65%, 23%)
HSVhsv(129, 79%, 37%)
CMYKcmyk(78.9%, 0%, 67.4%, 62.7%)
CIE-LABlab(34.87, -36.67, 29.53)
CIE-LCHlch(34.87, 47.08, 141.16°)
OKLaboklab(42.64% -0.099 0.0689)
OKLCHoklch(42.64% 0.121 145.1)
XYZxyz(4.6277, 8.4315, 2.6796)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F1F #5F1454
analogous
#2F5F14 #145F1F #145F44
triadic
#145F1F #1F145F #5F1F14
tetradic
#145F1F #142F5F #5F1454 #5F4414
square
#145F1F #142F5F #5F1454 #5F4414
split-complementary
#145F1F #44145F #5F142F
monochromatic
#051908 #092C0F #145F1F #1F922F #29C440

Accessibility & contrast

On white

7.82
#145F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145F1F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F1F#FFFFFF#000000##FFFFFF
##145F1F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #145f1f;
/* rgb */ color: rgb(20, 95, 31);
/* oklch */ color: oklch(42.6% 0.121 145.1);
Tailwind
colors: {
  custom: {
    50: '#5f8d5d',
    500: '#145f1f',
    950: '#000000',
  },
}
SCSS
$custom: #145f1f;
$custom-light: #5f8d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#145f1f",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 128.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.12064,
    "h": 145.1
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#145F1F
secondary
#973889
accent
#40CFE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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