#145F17#145F17

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

Color values

HEX#145F17
RGBrgb(20, 95, 23)
HSLhsl(122, 65%, 23%)
HSVhsv(122, 79%, 37%)
CMYKcmyk(78.9%, 0%, 75.8%, 62.7%)
CIE-LABlab(34.79, -37.58, 33.17)
CIE-LCHlch(34.79, 50.12, 138.57°)
OKLaboklab(42.55% -0.1018 0.0756)
OKLCHoklch(42.55% 0.127 143.4)
XYZxyz(4.5351, 8.3945, 2.1917)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F17 #5F145C
analogous
#365F14 #145F17 #145F3C
triadic
#145F17 #17145F #5F1714
tetradic
#145F17 #14365F #5F145C #5F3C14
square
#145F17 #14365F #5F145C #5F3C14
split-complementary
#145F17 #3C145F #5F1436
monochromatic
#051906 #092C0B #145F17 #1F9223 #29C42F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F17#FFFFFF#000000##FFFFFF
##145F171.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)
#61550B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f17;
/* rgb */ color: rgb(20, 95, 23);
/* oklch */ color: oklch(42.5% 0.127 143.4);
Tailwind
colors: {
  custom: {
    50: '#608d59',
    500: '#145f17',
    950: '#000000',
  },
}
SCSS
$custom: #145f17;
$custom-light: #608d59;
$custom-dark: #000000;
JSON
{
  "hex": "#145f17",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 122.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.12686,
    "h": 143.4
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#145F17
secondary
#973893
accent
#40E1E8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #145F17

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

Preview Lab → · Contrast checker → · Palette generator →

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