#167D17#167D17

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

Color values

HEX#167D17
RGBrgb(22, 125, 23)
HSLhsl(121, 70%, 29%)
HSVhsv(121, 82%, 49%)
CMYKcmyk(82.4%, 0%, 81.6%, 51%)
CIE-LABlab(45.50, -47.61, 43.83)
CIE-LCHlch(45.50, 64.72, 137.37°)
OKLaboklab(51.46% -0.1292 0.0979)
OKLCHoklch(51.46% 0.162 142.9)
XYZxyz(7.8186, 14.8987, 3.2741)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167D17 #7D167C
analogous
#497D16 #167D17 #167D4B
triadic
#167D17 #17167D #7D1716
tetradic
#167D17 #16497D #7D167C #7D4B16
square
#167D17 #16497D #7D167C #7D4B16
split-complementary
#167D17 #4B167D #7D1649
monochromatic
#051A05 #0D490D #167D17 #1FB121 #32DB34

Accessibility & contrast

On white

5.28
#167D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #167D17
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167D17#FFFFFF#000000##FFFFFF
##167D171.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #167d17;
/* rgb */ color: rgb(22, 125, 23);
/* oklch */ color: oklch(51.5% 0.162 142.9);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#167d17',
    950: '#000000',
  },
}
SCSS
$custom: #167d17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#167d17",
  "rgb": {
    "r": 22,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 120.583,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.16207,
    "h": 142.9
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#167D17
secondary
#B23DB1
accent
#3BEBED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #167D17

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

Preview Lab → · Contrast checker → · Palette generator →

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