#145812#145812

#145812 is a dark, vivid green. Relative luminance 0.072; OKLCH L 40.4% C 0.121 H 142.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#145812
RGBrgb(20, 88, 18)
HSLhsl(118, 66%, 21%)
HSVhsv(118, 80%, 35%)
CMYKcmyk(77.3%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.19, -35.47, 32.61)
CIE-LCHlch(32.19, 48.18, 137.41°)
OKLaboklab(40.38% -0.0964 0.0737)
OKLCHoklch(40.38% 0.121 142.6)
XYZxyz(3.8872, 7.1714, 1.7515)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145812 #561258
analogous
#375812 #145812 #125833
triadic
#145812 #121458 #581214
tetradic
#145812 #123758 #561258 #583312
square
#145812 #123758 #561258 #583312
split-complementary
#145812 #331258 #581237
monochromatic
#061905 #082508 #145812 #208B1C #2BBE27

Accessibility & contrast

On white

8.63
#145812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#145812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145812
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145812#FFFFFF#000000##FFFFFF
##1458121.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F05
Deuteranopia (green-blind)
#524A19
Tritanopia (blue-blind)
#01554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #145812;
/* rgb */ color: rgb(20, 88, 18);
/* oklch */ color: oklch(40.4% 0.121 142.6);
Tailwind
colors: {
  custom: {
    50: '#5e8855',
    500: '#145812',
    950: '#000000',
  },
}
SCSS
$custom: #145812;
$custom-light: #5e8855;
$custom-dark: #000000;
JSON
{
  "hex": "#145812",
  "rgb": {
    "r": 20,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 118.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.12136,
    "h": 142.6
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#145812
secondary
#8E3591
accent
#3FE9E4
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145812

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

Preview Lab → · Contrast checker → · Palette generator →

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