#145217#145217

#145217 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.110 H 143.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#145217
RGBrgb(20, 82, 23)
HSLhsl(123, 61%, 20%)
HSVhsv(123, 76%, 32%)
CMYKcmyk(75.6%, 0%, 72%, 67.8%)
CIE-LABlab(30.02, -32.66, 28.09)
CIE-LCHlch(30.02, 43.07, 139.30°)
OKLaboklab(38.59% -0.0885 0.0649)
OKLCHoklch(38.59% 0.11 143.7)
XYZxyz(3.4602, 6.2448, 1.8335)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145217 #52144F
analogous
#305214 #145217 #145236
triadic
#145217 #171452 #521714
tetradic
#145217 #143052 #52144F #523614
square
#145217 #143052 #52144F #523614
split-complementary
#145217 #361452 #521430
monochromatic
#061907 #082109 #145217 #208325 #2CB433

Accessibility & contrast

On white

9.34
#145217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#145217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145217
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145217#FFFFFF#000000##FFFFFF
##1452171.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4C451C
Tritanopia (blue-blind)
#035046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145217;
/* rgb */ color: rgb(20, 82, 23);
/* oklch */ color: oklch(38.6% 0.110 143.7);
Tailwind
colors: {
  custom: {
    50: '#5c8357',
    500: '#145217',
    950: '#000000',
  },
}
SCSS
$custom: #145217;
$custom-light: #5c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#145217",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 122.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38594,
    "c": 0.10977,
    "h": 143.7
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#145217
secondary
#8A3886
accent
#44DCE4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145217

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

Preview Lab → · Contrast checker → · Palette generator →

#145217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva