#168828#168828

#168828 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.164 H 144.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#168828
RGBrgb(22, 136, 40)
HSLhsl(129, 72%, 31%)
HSVhsv(129, 84%, 53%)
CMYKcmyk(83.8%, 0%, 70.6%, 46.7%)
CIE-LABlab(49.41, -49.77, 41.32)
CIE-LCHlch(49.41, 64.68, 140.30°)
OKLaboklab(54.76% -0.1343 0.0949)
OKLCHoklch(54.76% 0.164 144.7)
XYZxyz(9.5174, 17.9309, 4.9665)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168828 #881676
analogous
#3D8816 #168828 #168861
triadic
#168828 #281688 #882816
tetradic
#168828 #163D88 #881676 #886116
square
#168828 #163D88 #881676 #886116
split-complementary
#168828 #611688 #88163D
monochromatic
#051F09 #0D5319 #168828 #1FBD37 #39DF54

Accessibility & contrast

On white

4.58
#168828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#168828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168828
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168828#FFFFFF#000000##000000
##1688281.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1A
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #168828;
/* rgb */ color: rgb(22, 136, 40);
/* oklch */ color: oklch(54.8% 0.164 144.7);
Tailwind
colors: {
  custom: {
    50: '#6bac67',
    500: '#168828',
    950: '#000000',
  },
}
SCSS
$custom: #168828;
$custom-light: #6bac67;
$custom-dark: #000000;
JSON
{
  "hex": "#168828",
  "rgb": {
    "r": 22,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 129.474,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.16445,
    "h": 144.7
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#168828
secondary
#BC3EA8
accent
#39D2EF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #168828

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

Preview Lab → · Contrast checker → · Palette generator →

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