#168C1B#168C1B

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

Color values

HEX#168C1B
RGBrgb(22, 140, 27)
HSLhsl(123, 73%, 32%)
HSVhsv(123, 84%, 55%)
CMYKcmyk(84.3%, 0%, 80.7%, 45.1%)
CIE-LABlab(50.69, -52.17, 47.50)
CIE-LCHlch(50.69, 70.55, 137.68°)
OKLaboklab(55.79% -0.1414 0.1061)
OKLCHoklch(55.79% 0.177 143.1)
XYZxyz(9.9061, 19.0046, 4.1829)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168C1B #8C1687
analogous
#4C8C16 #168C1B #168C56
triadic
#168C1B #1B168C #8C1B16
tetradic
#168C1B #164C8C #8C1687 #8C5616
square
#168C1B #164C8C #8C1687 #8C5616
split-complementary
#168C1B #56168C #8C164C
monochromatic
#052207 #0E5711 #168C1B #1EC125 #3CE043

Accessibility & contrast

On white

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

On black

4.80
#168C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168C1B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168C1B#FFFFFF#000000##000000
##168C1B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #168c1b;
/* rgb */ color: rgb(22, 140, 27);
/* oklch */ color: oklch(55.8% 0.177 143.1);
Tailwind
colors: {
  custom: {
    50: '#6daf61',
    500: '#168c1b',
    950: '#000000',
  },
}
SCSS
$custom: #168c1b;
$custom-light: #6daf61;
$custom-dark: #000000;
JSON
{
  "hex": "#168c1b",
  "rgb": {
    "r": 22,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 122.542,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.17676,
    "h": 143.1
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#168C1B
secondary
#C03EBA
accent
#38E8F0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #168C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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