#145D21#145D21

#145D21 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.116 H 145.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#145D21
RGBrgb(20, 93, 33)
HSLhsl(131, 65%, 22%)
HSVhsv(131, 78%, 36%)
CMYKcmyk(78.5%, 0%, 64.5%, 63.5%)
CIE-LABlab(34.16, -35.65, 27.71)
CIE-LCHlch(34.16, 45.15, 142.14°)
OKLaboklab(42.06% -0.0961 0.0653)
OKLCHoklch(42.06% 0.116 145.8)
XYZxyz(4.4770, 8.0867, 2.7635)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145D21 #5D1450
analogous
#2C5D14 #145D21 #145D46
triadic
#145D21 #21145D #5D2114
tetradic
#145D21 #142C5D #5D1450 #5D4614
square
#145D21 #142C5D #5D1450 #5D4614
split-complementary
#145D21 #46145D #5D142C
monochromatic
#051909 #092B0F #145D21 #1F8F33 #2AC245

Accessibility & contrast

On white

8.02
#145D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#145D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145D21
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145D21#FFFFFF#000000##FFFFFF
##145D211.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #145d21;
/* rgb */ color: rgb(20, 93, 33);
/* oklch */ color: oklch(42.1% 0.116 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f8c5e',
    500: '#145d21',
    950: '#000000',
  },
}
SCSS
$custom: #145d21;
$custom-light: #5f8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#145d21",
  "rgb": {
    "r": 20,
    "g": 93,
    "b": 33
  },
  "hsl": {
    "h": 130.685,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.11619,
    "h": 145.8
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#145D21
secondary
#953884
accent
#40CAE8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #145D21

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

Preview Lab → · Contrast checker → · Palette generator →

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