#164F28#164F28

#164F28 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.088 H 150.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#164F28
RGBrgb(22, 79, 40)
HSLhsl(139, 56%, 20%)
HSVhsv(139, 72%, 31%)
CMYKcmyk(72.2%, 0%, 49.4%, 69%)
CIE-LABlab(29.20, -28.32, 17.76)
CIE-LCHlch(29.20, 33.43, 147.90°)
OKLaboklab(38% -0.0764 0.0436)
OKLCHoklch(38% 0.088 150.3)
XYZxyz(3.5096, 5.9154, 2.9639)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F28 #4F163D
analogous
#214F16 #164F28 #164F45
triadic
#164F28 #28164F #4F2816
tetradic
#164F28 #16214F #4F163D #4F4516
square
#164F28 #16214F #4F163D #4F4516
split-complementary
#164F28 #45164F #4F1621
monochromatic
#07180C #091F10 #164F28 #237F40 #31AF58

Accessibility & contrast

On white

9.62
#164F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#164F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F28
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F28#FFFFFF#000000##FFFFFF
##164F281.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4825
Deuteranopia (green-blind)
#48432B
Tritanopia (blue-blind)
#014E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164f28;
/* rgb */ color: rgb(22, 79, 40);
/* oklch */ color: oklch(38.0% 0.088 150.3);
Tailwind
colors: {
  custom: {
    50: '#5b8162',
    500: '#164f28',
    950: '#000000',
  },
}
SCSS
$custom: #164f28;
$custom-light: #5b8162;
$custom-dark: #000000;
JSON
{
  "hex": "#164f28",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 138.947,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.08796,
    "h": 150.3
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#164F28
secondary
#863A6E
accent
#48B0E0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #164F28

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

Preview Lab → · Contrast checker → · Palette generator →

#164F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva