#145312#145312

#145312 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.115 H 142.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#145312
RGBrgb(20, 83, 18)
HSLhsl(118, 64%, 20%)
HSVhsv(118, 78%, 33%)
CMYKcmyk(75.9%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.35, -33.58, 30.73)
CIE-LCHlch(30.35, 45.51, 137.54°)
OKLaboklab(38.85% -0.0913 0.0698)
OKLCHoklch(38.85% 0.115 142.6)
XYZxyz(3.4907, 6.3785, 1.6194)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145312 #511253
analogous
#355312 #145312 #125331
triadic
#145312 #121453 #531214
tetradic
#145312 #123553 #511253 #533112
square
#145312 #123553 #511253 #533112
split-complementary
#145312 #311253 #531235
monochromatic
#061905 #082107 #145312 #20851D #2CB828

Accessibility & contrast

On white

9.23
#145312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#145312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145312
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145312#FFFFFF#000000##FFFFFF
##1453121.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#045046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145312;
/* rgb */ color: rgb(20, 83, 18);
/* oklch */ color: oklch(38.9% 0.115 142.6);
Tailwind
colors: {
  custom: {
    50: '#5d8454',
    500: '#145312',
    950: '#000000',
  },
}
SCSS
$custom: #145312;
$custom-light: #5d8454;
$custom-dark: #000000;
JSON
{
  "hex": "#145312",
  "rgb": {
    "r": 20,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 118.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.11492,
    "h": 142.6
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#145312
secondary
#89358C
accent
#40E7E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145312

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

Preview Lab → · Contrast checker → · Palette generator →

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