#145222#145222

#145222 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.100 H 147.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#145222
RGBrgb(20, 82, 34)
HSLhsl(134, 61%, 20%)
HSVhsv(134, 76%, 32%)
CMYKcmyk(75.6%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.15, -31.11, 22.43)
CIE-LCHlch(30.15, 38.35, 144.20°)
OKLaboklab(38.75% -0.0838 0.0538)
OKLCHoklch(38.75% 0.1 147.3)
XYZxyz(3.5943, 6.2984, 2.5394)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145222 #521444
analogous
#255214 #145222 #145241
triadic
#145222 #221452 #522214
tetradic
#145222 #142552 #521444 #524114
square
#145222 #142552 #521444 #524114
split-complementary
#145222 #411452 #521425
monochromatic
#06190A #08210E #145222 #208336 #2CB44B

Accessibility & contrast

On white

9.29
#145222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#145222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145222
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145222#FFFFFF#000000##FFFFFF
##1452221.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1E
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145222;
/* rgb */ color: rgb(20, 82, 34);
/* oklch */ color: oklch(38.7% 0.100 147.3);
Tailwind
colors: {
  custom: {
    50: '#5c835e',
    500: '#145222',
    950: '#000000',
  },
}
SCSS
$custom: #145222;
$custom-light: #5c835e;
$custom-dark: #000000;
JSON
{
  "hex": "#145222",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 133.548,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.09964,
    "h": 147.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#145222
secondary
#8A3878
accent
#44C0E4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #145222

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

Preview Lab → · Contrast checker → · Palette generator →

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