#163F0C#163F0C

#163F0C is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.091 H 140.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#163F0C
RGBrgb(22, 63, 12)
HSLhsl(108, 68%, 15%)
HSVhsv(108, 81%, 25%)
CMYKcmyk(65.1%, 0%, 81%, 75.3%)
CIE-LABlab(22.83, -25.44, 25.67)
CIE-LCHlch(22.83, 36.15, 134.74°)
OKLaboklab(32.63% -0.0698 0.0583)
OKLCHoklch(32.63% 0.091 140.1)
XYZxyz(2.1746, 3.7519, 0.9574)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F0C #350C3F
analogous
#303F0C #163F0C #0C3F1B
triadic
#163F0C #0C163F #3F0C16
tetradic
#163F0C #0C303F #350C3F #3F1B0C
square
#163F0C #0C303F #350C3F #3F1B0C
split-complementary
#163F0C #1B0C3F #3F0C30
monochromatic
#091A05 #091A05 #163F0C #287216 #3AA620

Accessibility & contrast

On white

12.00
#163F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#163F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F0C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F0C#FFFFFF#000000##FFFFFF
##163F0C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413905
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#113D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163f0c;
/* rgb */ color: rgb(22, 63, 12);
/* oklch */ color: oklch(32.6% 0.091 140.1);
Tailwind
colors: {
  custom: {
    50: '#59744e',
    500: '#163f0c',
    950: '#000000',
  },
}
SCSS
$custom: #163f0c;
$custom-light: #59744e;
$custom-dark: #000000;
JSON
{
  "hex": "#163f0c",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 108.235,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.09094,
    "h": 140.1
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#163F0C
secondary
#6C2C7B
accent
#3DEBC9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #163F0C

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

Preview Lab → · Contrast checker → · Palette generator →

#163F0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva