#168B1B#168B1B

#168B1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.176 H 143.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#168B1B
RGBrgb(22, 139, 27)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(84.2%, 0%, 80.6%, 45.5%)
CIE-LABlab(50.35, -51.85, 47.18)
CIE-LCHlch(50.35, 70.10, 137.70°)
OKLaboklab(55.51% -0.1405 0.1054)
OKLCHoklch(55.51% 0.176 143.1)
XYZxyz(9.7607, 18.7137, 4.1344)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168B1B #8B1686
analogous
#4C8B16 #168B1B #168B56
triadic
#168B1B #1B168B #8B1B16
tetradic
#168B1B #164C8B #8B1686 #8B5616
square
#168B1B #164C8B #8B1686 #8B5616
split-complementary
#168B1B #56168B #8B164C
monochromatic
#052106 #0E5611 #168B1B #1EC025 #3BE042

Accessibility & contrast

On white

4.43
#168B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#168B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168B1B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168B1B#FFFFFF#000000##000000
##168B1B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #168b1b;
/* rgb */ color: rgb(22, 139, 27);
/* oklch */ color: oklch(55.5% 0.176 143.1);
Tailwind
colors: {
  custom: {
    50: '#6cae61',
    500: '#168b1b',
    950: '#000000',
  },
}
SCSS
$custom: #168b1b;
$custom-light: #6cae61;
$custom-dark: #000000;
JSON
{
  "hex": "#168b1b",
  "rgb": {
    "r": 22,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 122.564,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55507,
    "c": 0.17566,
    "h": 143.1
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#168B1B
secondary
#BF3EB9
accent
#38E8EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #168B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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