#145F12#145F12

#145F12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.130 H 142.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#145F12
RGBrgb(20, 95, 18)
HSLhsl(118, 68%, 22%)
HSVhsv(118, 81%, 37%)
CMYKcmyk(78.9%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.75, -38.03, 35.16)
CIE-LCHlch(34.75, 51.79, 137.24°)
OKLaboklab(42.51% -0.1033 0.0791)
OKLCHoklch(42.51% 0.13 142.6)
XYZxyz(4.4896, 8.3763, 1.9523)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145F12 #5D125F
analogous
#3A5F12 #145F12 #125F37
triadic
#145F12 #12145F #5F1214
tetradic
#145F12 #123A5F #5D125F #5F3712
square
#145F12 #123A5F #5D125F #5F3712
split-complementary
#145F12 #37125F #5F123A
monochromatic
#051A05 #092C08 #145F12 #1F921C #2AC625

Accessibility & contrast

On white

7.85
#145F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#145F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145F12
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145F12#FFFFFF#000000##FFFFFF
##145F121.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #145f12;
/* rgb */ color: rgb(20, 95, 18);
/* oklch */ color: oklch(42.5% 0.130 142.6);
Tailwind
colors: {
  custom: {
    50: '#608d56',
    500: '#145f12',
    950: '#000000',
  },
}
SCSS
$custom: #145f12;
$custom-light: #608d56;
$custom-dark: #000000;
JSON
{
  "hex": "#145f12",
  "rgb": {
    "r": 20,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 118.442,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.13011,
    "h": 142.6
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#145F12
secondary
#953697
accent
#3DEBE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #145F12

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

Preview Lab → · Contrast checker → · Palette generator →

#145F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva