#168A21#168A21

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

Color values

HEX#168A21
RGBrgb(22, 138, 33)
HSLhsl(126, 73%, 31%)
HSVhsv(126, 84%, 54%)
CMYKcmyk(84.1%, 0%, 76.1%, 45.9%)
CIE-LABlab(50.04, -51.07, 44.77)
CIE-LCHlch(50.04, 67.92, 138.76°)
OKLaboklab(55.27% -0.1381 0.1012)
OKLCHoklch(55.27% 0.171 143.8)
XYZxyz(9.6932, 18.4561, 4.4901)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168A21 #8A167F
analogous
#458A16 #168A21 #168A5B
triadic
#168A21 #21168A #8A2116
tetradic
#168A21 #16458A #8A167F #8A5B16
square
#168A21 #16458A #8A167F #8A5B16
split-complementary
#168A21 #5B168A #8A1645
monochromatic
#052008 #0E5514 #168A21 #1EBF2E #3BE04A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168A21#FFFFFF#000000##000000
##168A211.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)
#8D7C0C
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #168a21;
/* rgb */ color: rgb(22, 138, 33);
/* oklch */ color: oklch(55.3% 0.171 143.8);
Tailwind
colors: {
  custom: {
    50: '#6cad64',
    500: '#168a21',
    950: '#000000',
  },
}
SCSS
$custom: #168a21;
$custom-light: #6cad64;
$custom-dark: #000000;
JSON
{
  "hex": "#168a21",
  "rgb": {
    "r": 22,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 125.69,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.17127,
    "h": 143.8
  },
  "luminance": 0.18457
}

Semantic roles & 50–950 ramp

primary
#168A21
secondary
#BE3EB2
accent
#39DEEF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168A21

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

Preview Lab → · Contrast checker → · Palette generator →

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