#145211#145211

#145211 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.114 H 142.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#145211
RGBrgb(20, 82, 17)
HSLhsl(117, 66%, 19%)
HSVhsv(117, 79%, 32%)
CMYKcmyk(75.6%, 0%, 79.3%, 67.8%)
CIE-LABlab(29.97, -33.29, 30.77)
CIE-LCHlch(29.97, 45.33, 137.25°)
OKLaboklab(38.53% -0.0905 0.0697)
OKLCHoklch(38.53% 0.114 142.4)
XYZxyz(3.4068, 6.2234, 1.5519)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145211 #4F1152
analogous
#355211 #145211 #11522F
triadic
#145211 #111452 #521114
tetradic
#145211 #113552 #4F1152 #522F11
square
#145211 #113552 #4F1152 #522F11
split-complementary
#145211 #2F1152 #521135
monochromatic
#061905 #081F06 #145211 #20851C #2DB726

Accessibility & contrast

On white

9.35
#145211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#145211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145211
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145211#FFFFFF#000000##FFFFFF
##1452111.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#044F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145211;
/* rgb */ color: rgb(20, 82, 17);
/* oklch */ color: oklch(38.5% 0.114 142.4);
Tailwind
colors: {
  custom: {
    50: '#5d8354',
    500: '#145211',
    950: '#000000',
  },
}
SCSS
$custom: #145211;
$custom-light: #5d8354;
$custom-dark: #000000;
JSON
{
  "hex": "#145211",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 117.231,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38533,
    "c": 0.11429,
    "h": 142.4
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#145211
secondary
#87348B
accent
#3FE9E1
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #145211

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

Preview Lab → · Contrast checker → · Palette generator →

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