#165128#165128

#165128 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.091 H 149.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#165128
RGBrgb(22, 81, 40)
HSLhsl(138, 57%, 20%)
HSVhsv(138, 73%, 32%)
CMYKcmyk(72.8%, 0%, 50.6%, 68.2%)
CIE-LABlab(29.93, -29.20, 18.70)
CIE-LCHlch(29.93, 34.68, 147.36°)
OKLaboklab(38.61% -0.0787 0.0458)
OKLCHoklch(38.61% 0.091 149.8)
XYZxyz(3.6560, 6.2082, 3.0127)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165128 #51163F
analogous
#215116 #165128 #165145
triadic
#165128 #281651 #512816
tetradic
#165128 #162151 #51163F #514516
square
#165128 #162151 #51163F #514516
split-complementary
#165128 #451651 #511621
monochromatic
#07180C #092110 #165128 #238140 #30B158

Accessibility & contrast

On white

9.37
#165128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#165128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165128
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165128#FFFFFF#000000##FFFFFF
##1651281.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4A442B
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #165128;
/* rgb */ color: rgb(22, 81, 40);
/* oklch */ color: oklch(38.6% 0.091 149.8);
Tailwind
colors: {
  custom: {
    50: '#5c8262',
    500: '#165128',
    950: '#000000',
  },
}
SCSS
$custom: #165128;
$custom-light: #5c8262;
$custom-dark: #000000;
JSON
{
  "hex": "#165128",
  "rgb": {
    "r": 22,
    "g": 81,
    "b": 40
  },
  "hsl": {
    "h": 138.305,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.09106,
    "h": 149.8
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#165128
secondary
#883A71
accent
#47B2E1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #165128

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

Preview Lab → · Contrast checker → · Palette generator →

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