#145F1C#145F1C

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

Color values

HEX#145F1C
RGBrgb(20, 95, 28)
HSLhsl(126, 65%, 23%)
HSVhsv(126, 79%, 37%)
CMYKcmyk(78.9%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.84, -37.04, 30.95)
CIE-LCHlch(34.84, 48.27, 140.12°)
OKLaboklab(42.6% -0.1001 0.0716)
OKLCHoklch(42.6% 0.123 144.4)
XYZxyz(4.5900, 8.4165, 2.4810)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F1C #5F1457
analogous
#325F14 #145F1C #145F41
triadic
#145F1C #1C145F #5F1C14
tetradic
#145F1C #14325F #5F1457 #5F4114
square
#145F1C #14325F #5F1457 #5F4114
split-complementary
#145F1C #41145F #5F1432
monochromatic
#051907 #092C0D #145F1C #1F922B #29C43A

Accessibility & contrast

On white

7.83
#145F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#145F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F1C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F1C#FFFFFF#000000##FFFFFF
##145F1C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #145f1c;
/* rgb */ color: rgb(20, 95, 28);
/* oklch */ color: oklch(42.6% 0.123 144.4);
Tailwind
colors: {
  custom: {
    50: '#5f8d5c',
    500: '#145f1c',
    950: '#000000',
  },
}
SCSS
$custom: #145f1c;
$custom-light: #5f8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#145f1c",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 126.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42601,
    "c": 0.1231,
    "h": 144.4
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#145F1C
secondary
#97388D
accent
#40D6E8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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