#145228#145228

#145228 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.093 H 150.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#145228
RGBrgb(20, 82, 40)
HSLhsl(139, 61%, 20%)
HSVhsv(139, 76%, 32%)
CMYKcmyk(75.6%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.25, -30.05, 19.09)
CIE-LCHlch(30.25, 35.60, 147.58°)
OKLaboklab(38.85% -0.0809 0.0467)
OKLCHoklch(38.85% 0.093 150)
XYZxyz(3.6885, 6.3361, 3.0357)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145228 #52143E
analogous
#1F5214 #145228 #145247
triadic
#145228 #281452 #522814
tetradic
#145228 #141F52 #52143E #524714
square
#145228 #141F52 #52143E #524714
split-complementary
#145228 #471452 #52141F
monochromatic
#06190C #082110 #145228 #208340 #2CB458

Accessibility & contrast

On white

9.26
#145228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#145228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145228
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145228#FFFFFF#000000##FFFFFF
##1452281.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145228;
/* rgb */ color: rgb(20, 82, 40);
/* oklch */ color: oklch(38.9% 0.093 150.0);
Tailwind
colors: {
  custom: {
    50: '#5b8362',
    500: '#145228',
    950: '#000000',
  },
}
SCSS
$custom: #145228;
$custom-light: #5b8362;
$custom-dark: #000000;
JSON
{
  "hex": "#145228",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 139.355,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.09343,
    "h": 150
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#145228
secondary
#8A3870
accent
#44B0E4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #145228

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

Preview Lab → · Contrast checker → · Palette generator →

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