#162F0E#162F0E

#162F0E is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.6% C 0.064 H 138.8°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#162F0E
RGBrgb(22, 47, 14)
HSLhsl(105, 54%, 12%)
HSVhsv(105, 70%, 18%)
CMYKcmyk(53.2%, 0%, 70.2%, 81.6%)
CIE-LABlab(16.68, -17.51, 17.72)
CIE-LCHlch(16.68, 24.91, 134.66°)
OKLaboklab(27.58% -0.0481 0.0422)
OKLCHoklch(27.58% 0.064 138.8)
XYZxyz(1.4266, 2.2352, 0.7716)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F0E #270E2F
analogous
#272F0E #162F0E #0E2F17
triadic
#162F0E #0E162F #2F0E16
tetradic
#162F0E #0E272F #270E2F #2F170E
square
#162F0E #0E272F #270E2F #2F170E
split-complementary
#162F0E #170E2F #2F0E27
monochromatic
#0B1807 #0B1807 #162F0E #2C5E1C #428D2A

Accessibility & contrast

On white

14.51
#162F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F0E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F0E#FFFFFF#000000##FFFFFF
##162F0E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#142D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f0e;
/* rgb */ color: rgb(22, 47, 14);
/* oklch */ color: oklch(27.6% 0.064 138.8);
Tailwind
colors: {
  custom: {
    50: '#55674e',
    500: '#162f0e',
    950: '#000000',
  },
}
SCSS
$custom: #162f0e;
$custom-light: #55674e;
$custom-dark: #000000;
JSON
{
  "hex": "#162f0e",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 105.455,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27577,
    "c": 0.06399,
    "h": 138.8
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#162F0E
secondary
#5B2F69
accent
#4ADDBA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F0E

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

Preview Lab → · Contrast checker → · Palette generator →

#162F0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva