#145828#145828

#145828 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.102 H 148.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#145828
RGBrgb(20, 88, 40)
HSLhsl(138, 63%, 21%)
HSVhsv(138, 77%, 35%)
CMYKcmyk(77.3%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.44, -32.57, 21.84)
CIE-LCHlch(32.44, 39.21, 146.15°)
OKLaboklab(40.66% -0.0876 0.0529)
OKLCHoklch(40.66% 0.102 148.9)
XYZxyz(4.1609, 7.2809, 3.1931)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145828 #581444
analogous
#225814 #145828 #14584A
triadic
#145828 #281458 #582814
tetradic
#145828 #142258 #581444 #584A14
square
#145828 #142258 #581444 #584A14
split-complementary
#145828 #4A1458 #581422
monochromatic
#06190B #092611 #145828 #1F8A3F #2BBC55

Accessibility & contrast

On white

8.55
#145828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#145828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145828
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145828#FFFFFF#000000##FFFFFF
##1458281.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#514A2B
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #145828;
/* rgb */ color: rgb(20, 88, 40);
/* oklch */ color: oklch(40.7% 0.102 148.9);
Tailwind
colors: {
  custom: {
    50: '#5d8863',
    500: '#145828',
    950: '#000000',
  },
}
SCSS
$custom: #145828;
$custom-light: #5d8863;
$custom-dark: #000000;
JSON
{
  "hex": "#145828",
  "rgb": {
    "r": 20,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 137.647,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.10237,
    "h": 148.9
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#145828
secondary
#903876
accent
#42B6E6
background
#F5F8F5
surface
#E9F0EA
border
#C5CBC6
text
#050B05
muted
#797C79

Preview Lab

Preview with #145828

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

Preview Lab → · Contrast checker → · Palette generator →

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