#168E1F#168E1F

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

Color values

HEX#168E1F
RGBrgb(22, 142, 31)
HSLhsl(125, 73%, 32%)
HSVhsv(125, 85%, 56%)
CMYKcmyk(84.5%, 0%, 78.2%, 44.3%)
CIE-LABlab(51.40, -52.51, 46.84)
CIE-LCHlch(51.40, 70.37, 138.27°)
OKLaboklab(56.39% -0.1421 0.1053)
OKLCHoklch(56.39% 0.177 143.5)
XYZxyz(10.2505, 19.6142, 4.5417)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168E1F #8E1685
analogous
#498E16 #168E1F #168E5B
triadic
#168E1F #1F168E #8E1F16
tetradic
#168E1F #16498E #8E1685 #8E5B16
square
#168E1F #16498E #8E1685 #8E5B16
split-complementary
#168E1F #5B168E #8E1649
monochromatic
#062408 #0E5913 #168E1F #1EC32B #3DE14A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168E1F#FFFFFF#000000##000000
##168E1F1.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)
#918005
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #168e1f;
/* rgb */ color: rgb(22, 142, 31);
/* oklch */ color: oklch(56.4% 0.177 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db063',
    500: '#168e1f',
    950: '#000000',
  },
}
SCSS
$custom: #168e1f;
$custom-light: #6db063;
$custom-dark: #000000;
JSON
{
  "hex": "#168e1f",
  "rgb": {
    "r": 22,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 124.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.17689,
    "h": 143.5
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #168E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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