#164E18#164E18

#164E18 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.103 H 143.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#164E18
RGBrgb(22, 78, 24)
HSLhsl(122, 56%, 20%)
HSVhsv(122, 72%, 31%)
CMYKcmyk(71.8%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.60, -30.47, 26.03)
CIE-LCHlch(28.60, 40.08, 139.49°)
OKLaboklab(37.44% -0.0826 0.0607)
OKLCHoklch(37.44% 0.103 143.7)
XYZxyz(3.2199, 5.6850, 1.7916)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164E18 #4E164C
analogous
#304E16 #164E18 #164E34
triadic
#164E18 #18164E #4E1816
tetradic
#164E18 #16304E #4E164C #4E3416
square
#164E18 #16304E #4E164C #4E3416
split-complementary
#164E18 #34164E #4E1630
monochromatic
#071807 #091E09 #164E18 #237E27 #31AD35

Accessibility & contrast

On white

9.83
#164E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#164E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164E18
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164E18#FFFFFF#000000##FFFFFF
##164E181.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#094C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164e18;
/* rgb */ color: rgb(22, 78, 24);
/* oklch */ color: oklch(37.4% 0.103 143.7);
Tailwind
colors: {
  custom: {
    50: '#5c8057',
    500: '#164e18',
    950: '#000000',
  },
}
SCSS
$custom: #164e18;
$custom-light: #5c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#164e18",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 122.143,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.10254,
    "h": 143.7
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#164E18
secondary
#853A83
accent
#49DADF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #164E18

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

Preview Lab → · Contrast checker → · Palette generator →

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