#168A1F#168A1F

#168A1F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.172 H 143.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#168A1F
RGBrgb(22, 138, 31)
HSLhsl(125, 73%, 31%)
HSVhsv(125, 84%, 54%)
CMYKcmyk(84.1%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.03, -51.23, 45.49)
CIE-LCHlch(50.03, 68.52, 138.40°)
OKLaboklab(55.25% -0.1387 0.1025)
OKLCHoklch(55.25% 0.172 143.5)
XYZxyz(9.6660, 18.4453, 4.3469)
Luminance0.1845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168A1F #8A1681
analogous
#478A16 #168A1F #168A59
triadic
#168A1F #1F168A #8A1F16
tetradic
#168A1F #16478A #8A1681 #8A5916
square
#168A1F #16478A #8A1681 #8A5916
split-complementary
#168A1F #59168A #8A1647
monochromatic
#052007 #0E5513 #168A1F #1EBF2B #3BE047

Accessibility & contrast

On white

4.48
#168A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#168A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168A1F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168A1F#FFFFFF#000000##000000
##168A1F1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #168a1f;
/* rgb */ color: rgb(22, 138, 31);
/* oklch */ color: oklch(55.3% 0.172 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#168a1f',
    950: '#000000',
  },
}
SCSS
$custom: #168a1f;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#168a1f",
  "rgb": {
    "r": 22,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 124.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.17242,
    "h": 143.5
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#168A1F
secondary
#BE3EB4
accent
#39E1EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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