#162F0F#162F0F

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

Color values

HEX#162F0F
RGBrgb(22, 47, 15)
HSLhsl(107, 52%, 12%)
HSVhsv(107, 68%, 18%)
CMYKcmyk(53.2%, 0%, 68.1%, 81.6%)
CIE-LABlab(16.69, -17.37, 17.21)
CIE-LCHlch(16.69, 24.45, 135.25°)
OKLaboklab(27.59% -0.0476 0.041)
OKLCHoklch(27.59% 0.063 139.3)
XYZxyz(1.4336, 2.2380, 0.8083)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F0F #280F2F
analogous
#262F0F #162F0F #0F2F18
triadic
#162F0F #0F162F #2F0F16
tetradic
#162F0F #0F262F #280F2F #2F180F
square
#162F0F #0F262F #280F2F #2F180F
split-complementary
#162F0F #180F2F #2F0F26
monochromatic
#0B1707 #0B1707 #162F0F #2C5D1E #418C2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##162F0F#FFFFFF#000000##FFFFFF
##162F0F1.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)
#312B0C
Deuteranopia (green-blind)
#2D2811
Tritanopia (blue-blind)
#142D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162f0f;
/* rgb */ color: rgb(22, 47, 15);
/* oklch */ color: oklch(27.6% 0.063 139.3);
Tailwind
colors: {
  custom: {
    50: '#55674e',
    500: '#162f0f',
    950: '#000000',
  },
}
SCSS
$custom: #162f0f;
$custom-light: #55674e;
$custom-dark: #000000;
JSON
{
  "hex": "#162f0f",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 106.875,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27593,
    "c": 0.06289,
    "h": 139.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#162F0F
secondary
#5D3169
accent
#4DDBBC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #162F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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