#145628#145628

#145628 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.099 H 149.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#145628
RGBrgb(20, 86, 40)
HSLhsl(138, 62%, 21%)
HSVhsv(138, 77%, 34%)
CMYKcmyk(76.7%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.71, -31.74, 20.93)
CIE-LCHlch(31.71, 38.02, 146.60°)
OKLaboklab(40.06% -0.0854 0.0509)
OKLCHoklch(40.06% 0.099 149.2)
XYZxyz(3.9990, 6.9571, 3.1392)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145628 #561442
analogous
#215614 #145628 #145649
triadic
#145628 #281456 #562814
tetradic
#145628 #142156 #561442 #564914
square
#145628 #142156 #561442 #564914
split-complementary
#145628 #491456 #561421
monochromatic
#06190C #082411 #145628 #20883F #2BB956

Accessibility & contrast

On white

8.78
#145628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#145628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145628
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145628#FFFFFF#000000##FFFFFF
##1456281.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #145628;
/* rgb */ color: rgb(20, 86, 40);
/* oklch */ color: oklch(40.1% 0.099 149.2);
Tailwind
colors: {
  custom: {
    50: '#5c8663',
    500: '#145628',
    950: '#000000',
  },
}
SCSS
$custom: #145628;
$custom-light: #5c8663;
$custom-dark: #000000;
JSON
{
  "hex": "#145628",
  "rgb": {
    "r": 20,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 138.182,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.09943,
    "h": 149.2
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#145628
secondary
#8E3874
accent
#42B4E5
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #145628

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

Preview Lab → · Contrast checker → · Palette generator →

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