#145218#145218

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

Color values

HEX#145218
RGBrgb(20, 82, 24)
HSLhsl(124, 61%, 20%)
HSVhsv(124, 76%, 32%)
CMYKcmyk(75.6%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.03, -32.54, 27.61)
CIE-LCHlch(30.03, 42.67, 139.69°)
OKLaboklab(38.61% -0.0881 0.0641)
OKLCHoklch(38.61% 0.109 144)
XYZxyz(3.4704, 6.2489, 1.8872)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145218 #52144E
analogous
#2F5214 #145218 #145237
triadic
#145218 #181452 #521814
tetradic
#145218 #142F52 #52144E #523714
square
#145218 #142F52 #52144E #523714
split-complementary
#145218 #371452 #52142F
monochromatic
#061907 #08210A #145218 #208326 #2CB435

Accessibility & contrast

On white

9.33
#145218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145218
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145218#FFFFFF#000000##FFFFFF
##1452181.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#025046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145218;
/* rgb */ color: rgb(20, 82, 24);
/* oklch */ color: oklch(38.6% 0.109 144.0);
Tailwind
colors: {
  custom: {
    50: '#5c8358',
    500: '#145218',
    950: '#000000',
  },
}
SCSS
$custom: #145218;
$custom-light: #5c8358;
$custom-dark: #000000;
JSON
{
  "hex": "#145218",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 123.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.10894,
    "h": 144
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#145218
secondary
#8A3885
accent
#44DAE4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145218

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

Preview Lab → · Contrast checker → · Palette generator →

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