#168B1C#168B1C

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

Color values

HEX#168B1C
RGBrgb(22, 139, 28)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(84.2%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.36, -51.78, 46.85)
CIE-LCHlch(50.36, 69.83, 137.86°)
OKLaboklab(55.51% -0.1403 0.1049)
OKLCHoklch(55.51% 0.175 143.2)
XYZxyz(9.7725, 18.7184, 4.1964)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168B1C #8B1685
analogous
#4B8B16 #168B1C #168B57
triadic
#168B1C #1C168B #8B1C16
tetradic
#168B1C #164B8B #8B1685 #8B5716
square
#168B1C #164B8B #8B1685 #8B5716
split-complementary
#168B1C #57168B #8B164B
monochromatic
#052107 #0E5611 #168B1C #1EC027 #3BE044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168B1C#FFFFFF#000000##000000
##168B1C1.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)
#827529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #168b1c;
/* rgb */ color: rgb(22, 139, 28);
/* oklch */ color: oklch(55.5% 0.175 143.2);
Tailwind
colors: {
  custom: {
    50: '#6cae61',
    500: '#168b1c',
    950: '#000000',
  },
}
SCSS
$custom: #168b1c;
$custom-light: #6cae61;
$custom-dark: #000000;
JSON
{
  "hex": "#168b1c",
  "rgb": {
    "r": 22,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 123.077,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.17516,
    "h": 143.2
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#168B1C
secondary
#BF3EB8
accent
#38E6EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #168B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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