#167B1C#167B1C

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

Color values

HEX#167B1C
RGBrgb(22, 123, 28)
HSLhsl(124, 70%, 28%)
HSVhsv(124, 82%, 48%)
CMYKcmyk(82.1%, 0%, 77.2%, 51.8%)
CIE-LABlab(44.83, -46.57, 41.41)
CIE-LCHlch(44.83, 62.31, 138.36°)
OKLaboklab(50.91% -0.1261 0.0935)
OKLCHoklch(50.91% 0.157 143.4)
XYZxyz(7.6229, 14.4194, 3.4799)
Luminance0.1442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167B1C #7B1675
analogous
#427B16 #167B1C #167B4E
triadic
#167B1C #1C167B #7B1C16
tetradic
#167B1C #16427B #7B1675 #7B4E16
square
#167B1C #16427B #7B1675 #7B4E16
split-complementary
#167B1C #4E167B #7B1642
monochromatic
#051A06 #0D4710 #167B1C #1FAF28 #31DA3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167B1C#FFFFFF#000000##FFFFFF
##167B1C1.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)
#7E6F09
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #167b1c;
/* rgb */ color: rgb(22, 123, 28);
/* oklch */ color: oklch(50.9% 0.157 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a25f',
    500: '#167b1c',
    950: '#000000',
  },
}
SCSS
$custom: #167b1c;
$custom-light: #68a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#167b1c",
  "rgb": {
    "r": 22,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 123.564,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.15702,
    "h": 143.4
  },
  "luminance": 0.1442
}

Semantic roles & 50–950 ramp

primary
#167B1C
secondary
#B03DA9
accent
#3BE2EC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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