#168945#168945

#168945 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.141 H 151.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#168945
RGBrgb(22, 137, 69)
HSLhsl(145, 72%, 31%)
HSVhsv(145, 84%, 54%)
CMYKcmyk(83.9%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.09, -46.09, 27.95)
CIE-LCHlch(50.09, 53.90, 148.76°)
OKLaboklab(55.42% -0.1237 0.0682)
OKLCHoklch(55.42% 0.141 151.1)
XYZxyz(10.3498, 18.4903, 8.6526)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168945 #89165A
analogous
#208916 #168945 #16897E
triadic
#168945 #451689 #894516
tetradic
#168945 #162089 #89165A #897E16
square
#168945 #162089 #89165A #897E16
split-complementary
#168945 #7E1689 #891620
monochromatic
#052010 #0E542A #168945 #1EBE60 #3ADF7E

Accessibility & contrast

On white

4.47
#168945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#168945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168945
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168945#FFFFFF#000000##000000
##1689451.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #168945;
/* rgb */ color: rgb(22, 137, 69);
/* oklch */ color: oklch(55.4% 0.141 151.1);
Tailwind
colors: {
  custom: {
    50: '#6aac7a',
    500: '#168945',
    950: '#000000',
  },
}
SCSS
$custom: #168945;
$custom-light: #6aac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#168945",
  "rgb": {
    "r": 22,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 144.522,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.14124,
    "h": 151.1
  },
  "luminance": 0.18492
}

Semantic roles & 50–950 ramp

primary
#168945
secondary
#BD3E89
accent
#39A5EF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #168945

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

Preview Lab → · Contrast checker → · Palette generator →

#168945 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva