#168C21#168C21

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

Color values

HEX#168C21
RGBrgb(22, 140, 33)
HSLhsl(126, 73%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(84.3%, 0%, 76.4%, 45.1%)
CIE-LABlab(50.73, -51.72, 45.46)
CIE-LCHlch(50.73, 68.86, 138.68°)
OKLaboklab(55.83% -0.1399 0.1027)
OKLCHoklch(55.83% 0.174 143.7)
XYZxyz(9.9828, 19.0353, 4.5866)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168C21 #8C1681
analogous
#468C16 #168C21 #168C5C
triadic
#168C21 #21168C #8C2116
tetradic
#168C21 #16468C #8C1681 #8C5C16
square
#168C21 #16468C #8C1681 #8C5C16
split-complementary
#168C21 #5C168C #8C1646
monochromatic
#052208 #0E5715 #168C21 #1EC12D #3CE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##168C21#FFFFFF#000000##000000
##168C211.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)
#8F7E0B
Deuteranopia (green-blind)
#83752D
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #168c21;
/* rgb */ color: rgb(22, 140, 33);
/* oklch */ color: oklch(55.8% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#168c21',
    950: '#000000',
  },
}
SCSS
$custom: #168c21;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#168c21",
  "rgb": {
    "r": 22,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 125.593,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.17353,
    "h": 143.7
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#168C21
secondary
#C03EB4
accent
#38DEF0
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168C21

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

Preview Lab → · Contrast checker → · Palette generator →

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