#164F27#164F27

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

Color values

HEX#164F27
RGBrgb(22, 79, 39)
HSLhsl(138, 56%, 20%)
HSVhsv(138, 72%, 31%)
CMYKcmyk(72.2%, 0%, 50.6%, 69%)
CIE-LABlab(29.18, -28.51, 18.34)
CIE-LCHlch(29.18, 33.90, 147.25°)
OKLaboklab(37.98% -0.0769 0.0449)
OKLCHoklch(37.98% 0.089 149.7)
XYZxyz(3.4928, 5.9087, 2.8755)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F27 #4F163E
analogous
#214F16 #164F27 #164F44
triadic
#164F27 #27164F #4F2716
tetradic
#164F27 #16214F #4F163E #4F4416
square
#164F27 #16214F #4F163E #4F4416
split-complementary
#164F27 #44164F #4F1621
monochromatic
#07180C #091F0F #164F27 #237F3F #31AF56

Accessibility & contrast

On white

9.63
#164F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164F27
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F27#FFFFFF#000000##FFFFFF
##164F271.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#48432A
Tritanopia (blue-blind)
#014D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164f27;
/* rgb */ color: rgb(22, 79, 39);
/* oklch */ color: oklch(38.0% 0.089 149.7);
Tailwind
colors: {
  custom: {
    50: '#5b8162',
    500: '#164f27',
    950: '#000000',
  },
}
SCSS
$custom: #164f27;
$custom-light: #5b8162;
$custom-dark: #000000;
JSON
{
  "hex": "#164f27",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 39
  },
  "hsl": {
    "h": 137.895,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.08904,
    "h": 149.7
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#164F27
secondary
#863A70
accent
#48B2E0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #164F27

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

Preview Lab → · Contrast checker → · Palette generator →

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