#168618#168618

#168618 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.172 H 142.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#168618
RGBrgb(22, 134, 24)
HSLhsl(121, 72%, 31%)
HSVhsv(121, 84%, 53%)
CMYKcmyk(83.6%, 0%, 82.1%, 47.5%)
CIE-LABlab(48.62, -50.46, 46.48)
CIE-LCHlch(48.62, 68.61, 137.35°)
OKLaboklab(54.06% -0.1369 0.1035)
OKLCHoklch(54.06% 0.172 142.9)
XYZxyz(9.0203, 17.2856, 3.7250)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168618 #861684
analogous
#4C8616 #168618 #168650
triadic
#168618 #181686 #861816
tetradic
#168618 #164C86 #861684 #865016
square
#168618 #164C86 #861684 #865016
split-complementary
#168618 #501686 #86164C
monochromatic
#051D05 #0D510F #168618 #1FBB21 #38DE3B

Accessibility & contrast

On white

4.71
#168618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#168618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #168618
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168618#FFFFFF#000000##FFFFFF
##1686181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #168618;
/* rgb */ color: rgb(22, 134, 24);
/* oklch */ color: oklch(54.1% 0.172 142.9);
Tailwind
colors: {
  custom: {
    50: '#6baa5f',
    500: '#168618',
    950: '#000000',
  },
}
SCSS
$custom: #168618;
$custom-light: #6baa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#168618",
  "rgb": {
    "r": 22,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 121.071,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.17162,
    "h": 142.9
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#168618
secondary
#BA3EB8
accent
#39EBEF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #168618

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

Preview Lab → · Contrast checker → · Palette generator →

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