#168C1F#168C1F

#168C1F is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.175 H 143.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#168C1F
RGBrgb(22, 140, 31)
HSLhsl(125, 73%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(84.3%, 0%, 77.9%, 45.1%)
CIE-LABlab(50.72, -51.88, 46.17)
CIE-LCHlch(50.72, 69.45, 138.33°)
OKLaboklab(55.82% -0.1404 0.1039)
OKLCHoklch(55.82% 0.175 143.5)
XYZxyz(9.9556, 19.0244, 4.4434)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168C1F #8C1683
analogous
#488C16 #168C1F #168C5A
triadic
#168C1F #1F168C #8C1F16
tetradic
#168C1F #16488C #8C1683 #8C5A16
square
#168C1F #16488C #8C1683 #8C5A16
split-complementary
#168C1F #5A168C #8C1648
monochromatic
#052208 #0E5713 #168C1F #1EC12B #3CE049

Accessibility & contrast

On white

4.37
#168C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#168C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168C1F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168C1F#FFFFFF#000000##000000
##168C1F1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #168c1f;
/* rgb */ color: rgb(22, 140, 31);
/* oklch */ color: oklch(55.8% 0.175 143.5);
Tailwind
colors: {
  custom: {
    50: '#6caf63',
    500: '#168c1f',
    950: '#000000',
  },
}
SCSS
$custom: #168c1f;
$custom-light: #6caf63;
$custom-dark: #000000;
JSON
{
  "hex": "#168c1f",
  "rgb": {
    "r": 22,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 124.576,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.17467,
    "h": 143.5
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#168C1F
secondary
#C03EB6
accent
#38E2F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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