#168F1C#168F1C

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

Color values

HEX#168F1C
RGBrgb(22, 143, 28)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(84.6%, 0%, 80.4%, 43.9%)
CIE-LABlab(51.72, -53.04, 48.17)
CIE-LCHlch(51.72, 71.65, 137.76°)
OKLaboklab(56.65% -0.1437 0.1076)
OKLCHoklch(56.65% 0.18 143.2)
XYZxyz(10.3623, 19.8981, 4.3930)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168F1C #8F1689
analogous
#4D8F16 #168F1C #168F58
triadic
#168F1C #1C168F #8F1C16
tetradic
#168F1C #164D8F #8F1689 #8F5816
square
#168F1C #164D8F #8F1689 #8F5816
split-complementary
#168F1C #58168F #8F164D
monochromatic
#062507 #0E5A12 #168F1C #1EC426 #3EE146

Accessibility & contrast

On white

4.22
#168F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##168F1C#FFFFFF#000000##000000
##168F1C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168f1c;
/* rgb */ color: rgb(22, 143, 28);
/* oklch */ color: oklch(56.7% 0.180 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db162',
    500: '#168f1c',
    950: '#000000',
  },
}
SCSS
$custom: #168f1c;
$custom-light: #6db162;
$custom-dark: #000000;
JSON
{
  "hex": "#168f1c",
  "rgb": {
    "r": 22,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 122.975,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56651,
    "c": 0.17956,
    "h": 143.2
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#168F1C
secondary
#C13FBB
accent
#38E7F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #168F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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