#164F18#164F18

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

Color values

HEX#164F18
RGBrgb(22, 79, 24)
HSLhsl(122, 56%, 20%)
HSVhsv(122, 72%, 31%)
CMYKcmyk(72.2%, 0%, 69.6%, 69%)
CIE-LABlab(28.97, -30.88, 26.45)
CIE-LCHlch(28.97, 40.66, 139.42°)
OKLaboklab(37.75% -0.0837 0.0616)
OKLCHoklch(37.75% 0.104 143.7)
XYZxyz(3.2915, 5.8281, 1.8155)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F18 #4F164D
analogous
#314F16 #164F18 #164F34
triadic
#164F18 #18164F #4F1816
tetradic
#164F18 #16314F #4F164D #4F3416
square
#164F18 #16314F #4F164D #4F3416
split-complementary
#164F18 #34164F #4F1631
monochromatic
#071807 #091F09 #164F18 #237F27 #31AF35

Accessibility & contrast

On white

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

On black

2.17
#164F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##164F18#FFFFFF#000000##FFFFFF
##164F181.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #164f18;
/* rgb */ color: rgb(22, 79, 24);
/* oklch */ color: oklch(37.7% 0.104 143.7);
Tailwind
colors: {
  custom: {
    50: '#5c8157',
    500: '#164f18',
    950: '#000000',
  },
}
SCSS
$custom: #164f18;
$custom-light: #5c8157;
$custom-dark: #000000;
JSON
{
  "hex": "#164f18",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 122.105,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37746,
    "c": 0.10395,
    "h": 143.7
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#164F18
secondary
#863A84
accent
#48DAE0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164F18

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

Preview Lab → · Contrast checker → · Palette generator →

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