#145E21#145E21

#145E21 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.118 H 145.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#145E21
RGBrgb(20, 94, 33)
HSLhsl(131, 65%, 22%)
HSVhsv(131, 79%, 37%)
CMYKcmyk(78.7%, 0%, 64.9%, 63.1%)
CIE-LABlab(34.53, -36.03, 28.13)
CIE-LCHlch(34.53, 45.71, 142.02°)
OKLaboklab(42.36% -0.0972 0.0662)
OKLCHoklch(42.36% 0.118 145.8)
XYZxyz(4.5654, 8.2634, 2.7929)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145E21 #5E1451
analogous
#2C5E14 #145E21 #145E46
triadic
#145E21 #21145E #5E2114
tetradic
#145E21 #142C5E #5E1451 #5E4614
square
#145E21 #142C5E #5E1451 #5E4614
split-complementary
#145E21 #46145E #5E142C
monochromatic
#051909 #092C0F #145E21 #1F9033 #29C344

Accessibility & contrast

On white

7.92
#145E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#145E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145E21
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145E21#FFFFFF#000000##FFFFFF
##145E211.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #145e21;
/* rgb */ color: rgb(20, 94, 33);
/* oklch */ color: oklch(42.4% 0.118 145.8);
Tailwind
colors: {
  custom: {
    50: '#5f8c5f',
    500: '#145e21',
    950: '#000000',
  },
}
SCSS
$custom: #145e21;
$custom-light: #5f8c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#145e21",
  "rgb": {
    "r": 20,
    "g": 94,
    "b": 33
  },
  "hsl": {
    "h": 130.541,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.11755,
    "h": 145.8
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #145E21

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

Preview Lab → · Contrast checker → · Palette generator →

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