#145512#145512

#145512 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.118 H 142.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#145512
RGBrgb(20, 85, 18)
HSLhsl(118, 65%, 20%)
HSVhsv(118, 79%, 33%)
CMYKcmyk(76.5%, 0%, 78.8%, 66.7%)
CIE-LABlab(31.09, -34.34, 31.48)
CIE-LCHlch(31.09, 46.59, 137.48°)
OKLaboklab(39.46% -0.0933 0.0714)
OKLCHoklch(39.46% 0.118 142.6)
XYZxyz(3.6460, 6.6890, 1.6711)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145512 #531255
analogous
#355512 #145512 #125531
triadic
#145512 #121455 #551214
tetradic
#145512 #123555 #531255 #553112
square
#145512 #123555 #531255 #553112
split-complementary
#145512 #311255 #551235
monochromatic
#061905 #082207 #145512 #20881D #2CBA27

Accessibility & contrast

On white

8.98
#145512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#145512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145512
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145512#FFFFFF#000000##FFFFFF
##1455121.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#025248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #145512;
/* rgb */ color: rgb(20, 85, 18);
/* oklch */ color: oklch(39.5% 0.118 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8655',
    500: '#145512',
    950: '#000000',
  },
}
SCSS
$custom: #145512;
$custom-light: #5d8655;
$custom-dark: #000000;
JSON
{
  "hex": "#145512",
  "rgb": {
    "r": 20,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 118.209,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.11751,
    "h": 142.6
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#145512
secondary
#8B358E
accent
#40E8E3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145512

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

Preview Lab → · Contrast checker → · Palette generator →

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