#164A2F#164A2F

#164A2F is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.072 H 157.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#164A2F
RGBrgb(22, 74, 47)
HSLhsl(149, 54%, 19%)
HSVhsv(149, 70%, 29%)
CMYKcmyk(70.3%, 0%, 36.5%, 71%)
CIE-LABlab(27.50, -24.50, 11.21)
CIE-LCHlch(27.50, 26.95, 155.42°)
OKLaboklab(36.65% -0.0666 0.0283)
OKLCHoklch(36.65% 0.072 157)
XYZxyz(3.2924, 5.2730, 3.5331)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A2F #4A1631
analogous
#174A16 #164A2F #164A49
triadic
#164A2F #2F164A #4A2F16
tetradic
#164A2F #16174A #4A1631 #4A4916
square
#164A2F #16174A #4A1631 #4A4916
split-complementary
#164A2F #49164A #4A1617
monochromatic
#07180F #081B11 #164A2F #24794D #32A86B

Accessibility & contrast

On white

10.22
#164A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#164A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A2F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A2F#FFFFFF#000000##FFFFFF
##164A2F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442D
Deuteranopia (green-blind)
#433F31
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #164a2f;
/* rgb */ color: rgb(22, 74, 47);
/* oklch */ color: oklch(36.6% 0.072 157.0);
Tailwind
colors: {
  custom: {
    50: '#5a7d67',
    500: '#164a2f',
    950: '#000000',
  },
}
SCSS
$custom: #164a2f;
$custom-light: #5a7d67;
$custom-dark: #000000;
JSON
{
  "hex": "#164a2f",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 148.846,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.07237,
    "h": 157
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#164A2F
secondary
#823A5F
accent
#4A97DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #164A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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