#167B18#167B18

#167B18 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.159 H 143.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#167B18
RGBrgb(22, 123, 24)
HSLhsl(121, 70%, 28%)
HSVhsv(121, 82%, 48%)
CMYKcmyk(82.1%, 0%, 80.5%, 51.8%)
CIE-LABlab(44.80, -46.88, 42.83)
CIE-LCHlch(44.80, 63.50, 137.59°)
OKLaboklab(50.89% -0.1272 0.0959)
OKLCHoklch(50.89% 0.159 143)
XYZxyz(7.5782, 14.4015, 3.2444)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B18 #7B1679
analogous
#467B16 #167B18 #167B4A
triadic
#167B18 #18167B #7B1816
tetradic
#167B18 #16467B #7B1679 #7B4A16
square
#167B18 #16467B #7B1679 #7B4A16
split-complementary
#167B18 #4A167B #7B1646
monochromatic
#051A05 #0D470E #167B18 #1FAF22 #31DA35

Accessibility & contrast

On white

5.41
#167B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#167B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B18
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B18#FFFFFF#000000##FFFFFF
##167B181.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b18;
/* rgb */ color: rgb(22, 123, 24);
/* oklch */ color: oklch(50.9% 0.159 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a25d',
    500: '#167b18',
    950: '#000000',
  },
}
SCSS
$custom: #167b18;
$custom-light: #68a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#167b18",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 121.188,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.15928,
    "h": 143
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#167B18
secondary
#B03DAE
accent
#3BE9EC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167B18

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

Preview Lab → · Contrast checker → · Palette generator →

#167B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva