#145F18#145F18

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

Color values

HEX#145F18
RGBrgb(20, 95, 24)
HSLhsl(123, 65%, 23%)
HSVhsv(123, 79%, 37%)
CMYKcmyk(78.9%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.80, -37.48, 32.74)
CIE-LCHlch(34.80, 49.76, 138.86°)
OKLaboklab(42.56% -0.1015 0.0749)
OKLCHoklch(42.56% 0.126 143.6)
XYZxyz(4.5453, 8.3986, 2.2455)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F18 #5F145B
analogous
#355F14 #145F18 #145F3D
triadic
#145F18 #18145F #5F1814
tetradic
#145F18 #14355F #5F145B #5F3D14
square
#145F18 #14355F #5F145B #5F3D14
split-complementary
#145F18 #3D145F #5F1435
monochromatic
#051906 #092C0B #145F18 #1F9225 #29C432

Accessibility & contrast

On white

7.84
#145F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145F18
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F18#FFFFFF#000000##FFFFFF
##145F181.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f18;
/* rgb */ color: rgb(20, 95, 24);
/* oklch */ color: oklch(42.6% 0.126 143.6);
Tailwind
colors: {
  custom: {
    50: '#608d59',
    500: '#145f18',
    950: '#000000',
  },
}
SCSS
$custom: #145f18;
$custom-light: #608d59;
$custom-dark: #000000;
JSON
{
  "hex": "#145f18",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 123.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.12615,
    "h": 143.6
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#145F18
secondary
#973892
accent
#40DFE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145F18

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

Preview Lab → · Contrast checker → · Palette generator →

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