#168B1F#168B1F

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

Color values

HEX#168B1F
RGBrgb(22, 139, 31)
HSLhsl(125, 73%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(84.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(50.37, -51.55, 45.83)
CIE-LCHlch(50.37, 68.98, 138.36°)
OKLaboklab(55.53% -0.1395 0.1032)
OKLCHoklch(55.53% 0.174 143.5)
XYZxyz(9.8102, 18.7335, 4.3950)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168B1F #8B1682
analogous
#488B16 #168B1F #168B5A
triadic
#168B1F #1F168B #8B1F16
tetradic
#168B1F #16488B #8B1682 #8B5A16
square
#168B1F #16488B #8B1682 #8B5A16
split-complementary
#168B1F #5A168B #8B1648
monochromatic
#052107 #0E5613 #168B1F #1EC02B #3BE048

Accessibility & contrast

On white

4.42
#168B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#168B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168B1F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168B1F#FFFFFF#000000##000000
##168B1F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #168b1f;
/* rgb */ color: rgb(22, 139, 31);
/* oklch */ color: oklch(55.5% 0.174 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cae63',
    500: '#168b1f',
    950: '#000000',
  },
}
SCSS
$custom: #168b1f;
$custom-light: #6cae63;
$custom-dark: #000000;
JSON
{
  "hex": "#168b1f",
  "rgb": {
    "r": 22,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 124.615,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.17355,
    "h": 143.5
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#168B1F
secondary
#BF3EB5
accent
#38E1EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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