#168F1F#168F1F

#168F1F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.178 H 143.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#168F1F
RGBrgb(22, 143, 31)
HSLhsl(124, 73%, 32%)
HSVhsv(124, 85%, 56%)
CMYKcmyk(84.6%, 0%, 78.3%, 43.9%)
CIE-LABlab(51.74, -52.83, 47.18)
CIE-LCHlch(51.74, 70.83, 138.23°)
OKLaboklab(56.67% -0.143 0.106)
OKLCHoklch(56.67% 0.178 143.5)
XYZxyz(10.4000, 19.9131, 4.5916)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168F1F #8F1686
analogous
#498F16 #168F1F #168F5C
triadic
#168F1F #1F168F #8F1F16
tetradic
#168F1F #16498F #8F1686 #8F5C16
square
#168F1F #16498F #8F1686 #8F5C16
split-complementary
#168F1F #5C168F #8F1649
monochromatic
#062508 #0E5A14 #168F1F #1EC42A #3EE14A

Accessibility & contrast

On white

4.21
#168F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#168F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168F1F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168F1F#FFFFFF#000000##000000
##168F1F1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168f1f;
/* rgb */ color: rgb(22, 143, 31);
/* oklch */ color: oklch(56.7% 0.178 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db163',
    500: '#168f1f',
    950: '#000000',
  },
}
SCSS
$custom: #168f1f;
$custom-light: #6db163;
$custom-dark: #000000;
JSON
{
  "hex": "#168f1f",
  "rgb": {
    "r": 22,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 124.463,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.178,
    "h": 143.5
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#168F1F
secondary
#C13FB8
accent
#38E2F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168F1F

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

Preview Lab → · Contrast checker → · Palette generator →

#168F1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva