#163F04#163F04

#163F04 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.6% C 0.097 H 138.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#163F04
RGBrgb(22, 63, 4)
HSLhsl(102, 88%, 13%)
HSVhsv(102, 94%, 25%)
CMYKcmyk(65.1%, 0%, 93.7%, 75.3%)
CIE-LABlab(22.77, -26.15, 28.92)
CIE-LCHlch(22.77, 38.99, 132.13°)
OKLaboklab(32.56% -0.0723 0.0642)
OKLCHoklch(32.56% 0.097 138.4)
XYZxyz(2.1302, 3.7342, 0.7234)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F04 #2D043F
analogous
#333F04 #163F04 #043F0F
triadic
#163F04 #04163F #3F0416
tetradic
#163F04 #04333F #2D043F #3F0F04
square
#163F04 #04333F #2D043F #3F0F04
split-complementary
#163F04 #0F043F #3F0433
monochromatic
#0A1D02 #0A1D02 #163F04 #2A7908 #3EB20B

Accessibility & contrast

On white

12.02
#163F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #163F04
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F04#FFFFFF#000000##FFFFFF
##163F041.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3C350B
Tritanopia (blue-blind)
#123C34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #163f04;
/* rgb */ color: rgb(22, 63, 4);
/* oklch */ color: oklch(32.6% 0.097 138.4);
Tailwind
colors: {
  custom: {
    50: '#59744a',
    500: '#163f04',
    950: '#000000',
  },
}
SCSS
$custom: #163f04;
$custom-light: #59744a;
$custom-dark: #000000;
JSON
{
  "hex": "#163f04",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 101.695,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32563,
    "c": 0.0967,
    "h": 138.4
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#163F04
secondary
#621E80
accent
#2AFEBD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #163F04

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

Preview Lab → · Contrast checker → · Palette generator →

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