#145712#145712

#145712 is a dark, vivid green. Relative luminance 0.070; OKLCH L 40.1% C 0.120 H 142.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#145712
RGBrgb(20, 87, 18)
HSLhsl(118, 66%, 21%)
HSVhsv(118, 79%, 34%)
CMYKcmyk(77%, 0%, 79.3%, 65.9%)
CIE-LABlab(31.83, -35.09, 32.23)
CIE-LCHlch(31.83, 47.65, 137.43°)
OKLaboklab(40.08% -0.0954 0.073)
OKLCHoklch(40.08% 0.12 142.6)
XYZxyz(3.8056, 7.0084, 1.7243)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145712 #551257
analogous
#365712 #145712 #125732
triadic
#145712 #121457 #571214
tetradic
#145712 #123657 #551257 #573212
square
#145712 #123657 #551257 #573212
split-complementary
#145712 #321257 #571236
monochromatic
#061905 #082408 #145712 #208A1C #2BBC27

Accessibility & contrast

On white

8.74
#145712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#145712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145712
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145712#FFFFFF#000000##FFFFFF
##1457121.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E06
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#01544A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #145712;
/* rgb */ color: rgb(20, 87, 18);
/* oklch */ color: oklch(40.1% 0.120 142.6);
Tailwind
colors: {
  custom: {
    50: '#5e8755',
    500: '#145712',
    950: '#000000',
  },
}
SCSS
$custom: #145712;
$custom-light: #5e8755;
$custom-dark: #000000;
JSON
{
  "hex": "#145712",
  "rgb": {
    "r": 20,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 118.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.12008,
    "h": 142.6
  },
  "luminance": 0.07009
}

Semantic roles & 50–950 ramp

primary
#145712
secondary
#8D3590
accent
#3FE9E4
background
#F5F8F5
surface
#EAEFE9
border
#C6CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145712

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

Preview Lab → · Contrast checker → · Palette generator →

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