#167F17#167F17

#167F17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.0% C 0.164 H 142.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#167F17
RGBrgb(22, 127, 23)
HSLhsl(121, 70%, 29%)
HSVhsv(121, 83%, 50%)
CMYKcmyk(82.7%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.19, -48.26, 44.50)
CIE-LCHlch(46.19, 65.65, 137.33°)
OKLaboklab(52.04% -0.131 0.0993)
OKLCHoklch(52.04% 0.164 142.8)
XYZxyz(8.0744, 15.4102, 3.3594)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F17 #7F167E
analogous
#4A7F16 #167F17 #167F4C
triadic
#167F17 #17167F #7F1716
tetradic
#167F17 #164A7F #7F167E #7F4C16
square
#167F17 #164A7F #7F167E #7F4C16
split-complementary
#167F17 #4C167F #7F164A
monochromatic
#051A05 #0D4B0E #167F17 #1FB320 #34DC35

Accessibility & contrast

On white

5.14
#167F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#167F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F17#FFFFFF#000000##FFFFFF
##167F171.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #167f17;
/* rgb */ color: rgb(22, 127, 23);
/* oklch */ color: oklch(52.0% 0.164 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a55d',
    500: '#167f17',
    950: '#000000',
  },
}
SCSS
$custom: #167f17;
$custom-light: #69a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#167f17",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 120.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.16433,
    "h": 142.8
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#167F17
secondary
#B43DB3
accent
#3BECED
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #167F17

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

Preview Lab → · Contrast checker → · Palette generator →

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