#145212#145212

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

Color values

HEX#145212
RGBrgb(20, 82, 18)
HSLhsl(118, 64%, 20%)
HSVhsv(118, 78%, 32%)
CMYKcmyk(75.6%, 0%, 78%, 67.8%)
CIE-LABlab(29.98, -33.19, 30.34)
CIE-LCHlch(29.98, 44.97, 137.57°)
OKLaboklab(38.54% -0.0902 0.069)
OKLCHoklch(38.54% 0.114 142.6)
XYZxyz(3.4148, 6.2266, 1.5940)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145212 #501252
analogous
#345212 #145212 #125230
triadic
#145212 #121452 #521214
tetradic
#145212 #123452 #501252 #523012
square
#145212 #123452 #501252 #523012
split-complementary
#145212 #301252 #521234
monochromatic
#061906 #082007 #145212 #20841D #2CB628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145212#FFFFFF#000000##FFFFFF
##1452121.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #145212;
/* rgb */ color: rgb(20, 82, 18);
/* oklch */ color: oklch(38.5% 0.114 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8354',
    500: '#145212',
    950: '#000000',
  },
}
SCSS
$custom: #145212;
$custom-light: #5d8354;
$custom-dark: #000000;
JSON
{
  "hex": "#145212",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 118.125,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38542,
    "c": 0.1136,
    "h": 142.6
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#145212
secondary
#88358B
accent
#41E7E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145212

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

Preview Lab → · Contrast checker → · Palette generator →

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