#165228#165228

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

Color values

HEX#165228
RGBrgb(22, 82, 40)
HSLhsl(138, 58%, 20%)
HSVhsv(138, 73%, 32%)
CMYKcmyk(73.2%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.30, -29.63, 19.17)
CIE-LCHlch(30.30, 35.29, 147.11°)
OKLaboklab(38.91% -0.0799 0.0469)
OKLCHoklch(38.91% 0.093 149.6)
XYZxyz(3.7309, 6.3580, 3.0377)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165228 #521640
analogous
#225216 #165228 #165246
triadic
#165228 #281652 #522816
tetradic
#165228 #162252 #521640 #524616
square
#165228 #162252 #521640 #524616
split-complementary
#165228 #461652 #521622
monochromatic
#06180C #092210 #165228 #238240 #30B357

Accessibility & contrast

On white

9.24
#165228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #165228
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165228#FFFFFF#000000##FFFFFF
##1652281.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.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: #165228;
/* rgb */ color: rgb(22, 82, 40);
/* oklch */ color: oklch(38.9% 0.093 149.6);
Tailwind
colors: {
  custom: {
    50: '#5c8362',
    500: '#165228',
    950: '#000000',
  },
}
SCSS
$custom: #165228;
$custom-light: #5c8362;
$custom-dark: #000000;
JSON
{
  "hex": "#165228",
  "rgb": {
    "r": 22,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 138,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.09261,
    "h": 149.6
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#165228
secondary
#893A72
accent
#47B3E1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #165228

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

Preview Lab → · Contrast checker → · Palette generator →

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