#145F22#145F22

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

Color values

HEX#145F22
RGBrgb(20, 95, 34)
HSLhsl(131, 65%, 23%)
HSVhsv(131, 79%, 37%)
CMYKcmyk(78.9%, 0%, 64.2%, 62.7%)
CIE-LABlab(34.90, -36.27, 28.05)
CIE-LCHlch(34.90, 45.85, 142.29°)
OKLaboklab(42.67% -0.0978 0.0661)
OKLCHoklch(42.67% 0.118 146)
XYZxyz(4.6691, 8.4481, 2.8976)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F22 #5F1451
analogous
#2C5F14 #145F22 #145F47
triadic
#145F22 #22145F #5F2214
tetradic
#145F22 #142C5F #5F1451 #5F4714
square
#145F22 #142C5F #5F1451 #5F4714
split-complementary
#145F22 #47145F #5F142C
monochromatic
#051909 #092C10 #145F22 #1F9234 #29C446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145F22#FFFFFF#000000##FFFFFF
##145F221.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)
#60561C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f22;
/* rgb */ color: rgb(20, 95, 34);
/* oklch */ color: oklch(42.7% 0.118 146.0);
Tailwind
colors: {
  custom: {
    50: '#5f8d5f',
    500: '#145f22',
    950: '#000000',
  },
}
SCSS
$custom: #145f22;
$custom-light: #5f8d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#145f22",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 34
  },
  "hsl": {
    "h": 131.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.11802,
    "h": 146
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#145F22
secondary
#973885
accent
#40C9E8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #145F22

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

Preview Lab → · Contrast checker → · Palette generator →

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