#164F17#164F17

#164F17 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.105 H 143.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#164F17
RGBrgb(22, 79, 23)
HSLhsl(121, 56%, 20%)
HSVhsv(121, 72%, 31%)
CMYKcmyk(72.2%, 0%, 70.9%, 69%)
CIE-LABlab(28.96, -31.00, 26.94)
CIE-LCHlch(28.96, 41.07, 139.01°)
OKLaboklab(37.73% -0.0841 0.0625)
OKLCHoklch(37.73% 0.105 143.4)
XYZxyz(3.2813, 5.8241, 1.7617)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F17 #4F164E
analogous
#314F16 #164F17 #164F34
triadic
#164F17 #17164F #4F1716
tetradic
#164F17 #16314F #4F164E #4F3416
square
#164F17 #16314F #4F164E #4F3416
split-complementary
#164F17 #34164F #4F1631
monochromatic
#071807 #091F09 #164F17 #237F25 #31AF33

Accessibility & contrast

On white

9.70
#164F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#164F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F17
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F17#FFFFFF#000000##FFFFFF
##164F171.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#084D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164f17;
/* rgb */ color: rgb(22, 79, 23);
/* oklch */ color: oklch(37.7% 0.105 143.4);
Tailwind
colors: {
  custom: {
    50: '#5c8157',
    500: '#164f17',
    950: '#000000',
  },
}
SCSS
$custom: #164f17;
$custom-light: #5c8157;
$custom-dark: #000000;
JSON
{
  "hex": "#164f17",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 121.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37734,
    "c": 0.10482,
    "h": 143.4
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#164F17
secondary
#863A85
accent
#48DDE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164F17

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

Preview Lab → · Contrast checker → · Palette generator →

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