#167B2F#167B2F

#167B2F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.143 H 146.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#167B2F
RGBrgb(22, 123, 47)
HSLhsl(135, 70%, 28%)
HSVhsv(135, 82%, 48%)
CMYKcmyk(82.1%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.00, -44.48, 33.18)
CIE-LCHlch(45.00, 55.49, 143.28°)
OKLaboklab(51.11% -0.1196 0.0784)
OKLCHoklch(51.11% 0.143 146.8)
XYZxyz(7.9263, 14.5408, 5.0777)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B2F #7B1662
analogous
#307B16 #167B2F #167B61
triadic
#167B2F #2F167B #7B2F16
tetradic
#167B2F #16307B #7B1662 #7B6116
square
#167B2F #16307B #7B1662 #7B6116
split-complementary
#167B2F #61167B #7B1630
monochromatic
#051A0A #0D471B #167B2F #1FAF43 #31DA5B

Accessibility & contrast

On white

5.37
#167B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#167B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167B2F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167B2F#FFFFFF#000000##FFFFFF
##167B2F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#726735
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b2f;
/* rgb */ color: rgb(22, 123, 47);
/* oklch */ color: oklch(51.1% 0.143 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a26a',
    500: '#167b2f',
    950: '#000000',
  },
}
SCSS
$custom: #167b2f;
$custom-light: #67a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#167b2f",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 134.851,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.14301,
    "h": 146.8
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#167B2F
secondary
#B03D94
accent
#3BC1EC
background
#F6FAF6
surface
#EBF4EB
border
#C6CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #167B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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