#168E1C#168E1C

#168E1C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.178 H 143.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#168E1C
RGBrgb(22, 142, 28)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 85%, 56%)
CMYKcmyk(84.5%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.38, -52.73, 47.84)
CIE-LCHlch(51.38, 71.20, 137.78°)
OKLaboklab(56.37% -0.1429 0.1069)
OKLCHoklch(56.37% 0.178 143.2)
XYZxyz(10.2128, 19.5992, 4.3431)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168E1C #8E1688
analogous
#4C8E16 #168E1C #168E58
triadic
#168E1C #1C168E #8E1C16
tetradic
#168E1C #164C8E #8E1688 #8E5816
square
#168E1C #164C8E #8E1688 #8E5816
split-complementary
#168E1C #58168E #8E164C
monochromatic
#062407 #0E5912 #168E1C #1EC326 #3DE146

Accessibility & contrast

On white

4.27
#168E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#168E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168E1C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168E1C#FFFFFF#000000##000000
##168E1C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#85772A
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168e1c;
/* rgb */ color: rgb(22, 142, 28);
/* oklch */ color: oklch(56.4% 0.178 143.2);
Tailwind
colors: {
  custom: {
    50: '#6db062',
    500: '#168e1c',
    950: '#000000',
  },
}
SCSS
$custom: #168e1c;
$custom-light: #6db062;
$custom-dark: #000000;
JSON
{
  "hex": "#168e1c",
  "rgb": {
    "r": 22,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 123,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.17846,
    "h": 143.2
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#168E1C
secondary
#C13FBA
accent
#38E7F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081105
muted
#7B807A

Preview Lab

Preview with #168E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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