#168F18#168F18

#168F18 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.6% C 0.181 H 142.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#168F18
RGBrgb(22, 143, 24)
HSLhsl(121, 73%, 32%)
HSVhsv(121, 85%, 56%)
CMYKcmyk(84.6%, 0%, 83.2%, 43.9%)
CIE-LABlab(51.70, -53.30, 49.38)
CIE-LCHlch(51.70, 72.66, 137.19°)
OKLaboklab(56.63% -0.1446 0.1096)
OKLCHoklch(56.63% 0.181 142.8)
XYZxyz(10.3175, 19.8802, 4.1575)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#168F18 #8F168D
analogous
#508F16 #168F18 #168F55
triadic
#168F18 #18168F #8F1816
tetradic
#168F18 #16508F #8F168D #8F5516
square
#168F18 #16508F #8F168D #8F5516
split-complementary
#168F18 #55168F #8F1650
monochromatic
#062506 #0E5A0F #168F18 #1EC421 #3EE141

Accessibility & contrast

On white

4.22
#168F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#168F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #168F18
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##168F18#FFFFFF#000000##000000
##168F181.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#008B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #168f18;
/* rgb */ color: rgb(22, 143, 24);
/* oklch */ color: oklch(56.6% 0.181 142.8);
Tailwind
colors: {
  custom: {
    50: '#6db160',
    500: '#168f18',
    950: '#000000',
  },
}
SCSS
$custom: #168f18;
$custom-light: #6db160;
$custom-dark: #000000;
JSON
{
  "hex": "#168f18",
  "rgb": {
    "r": 22,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 120.992,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.18143,
    "h": 142.8
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

primary
#168F18
secondary
#C13FBF
accent
#38EDF0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #168F18

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

Preview Lab → · Contrast checker → · Palette generator →

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