#167D1C#167D1C

#167D1C is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.159 H 143.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#167D1C
RGBrgb(22, 125, 28)
HSLhsl(123, 70%, 29%)
HSVhsv(123, 82%, 49%)
CMYKcmyk(82.4%, 0%, 77.6%, 51%)
CIE-LABlab(45.53, -47.23, 42.10)
CIE-LCHlch(45.53, 63.28, 138.29°)
OKLaboklab(51.49% -0.1279 0.095)
OKLCHoklch(51.49% 0.159 143.4)
XYZxyz(7.8736, 14.9207, 3.5634)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167D1C #7D1677
analogous
#447D16 #167D1C #167D50
triadic
#167D1C #1C167D #7D1C16
tetradic
#167D1C #16447D #7D1677 #7D5016
square
#167D1C #16447D #7D1677 #7D5016
split-complementary
#167D1C #50167D #7D1644
monochromatic
#051A06 #0D4910 #167D1C #1FB128 #32DB3C

Accessibility & contrast

On white

5.27
#167D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#167D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167D1C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167D1C#FFFFFF#000000##FFFFFF
##167D1C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807008
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #167d1c;
/* rgb */ color: rgb(22, 125, 28);
/* oklch */ color: oklch(51.5% 0.159 143.4);
Tailwind
colors: {
  custom: {
    50: '#68a45f',
    500: '#167d1c',
    950: '#000000',
  },
}
SCSS
$custom: #167d1c;
$custom-light: #68a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#167d1c",
  "rgb": {
    "r": 22,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 123.495,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.15934,
    "h": 143.4
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#167D1C
secondary
#B23DAB
accent
#3BE2ED
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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