#167F2F#167F2F

#167F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.148 H 146.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#167F2F
RGBrgb(22, 127, 47)
HSLhsl(134, 70%, 29%)
HSVhsv(134, 83%, 50%)
CMYKcmyk(82.7%, 0%, 63%, 50.2%)
CIE-LABlab(46.38, -45.89, 34.78)
CIE-LCHlch(46.38, 57.58, 142.84°)
OKLaboklab(52.26% -0.1235 0.0818)
OKLCHoklch(52.26% 0.148 146.5)
XYZxyz(8.4327, 15.5535, 5.2465)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F2F #7F1666
analogous
#317F16 #167F2F #167F64
triadic
#167F2F #2F167F #7F2F16
tetradic
#167F2F #16317F #7F1666 #7F6416
square
#167F2F #16317F #7F1666 #7F6416
split-complementary
#167F2F #64167F #7F1631
monochromatic
#051A0A #0D4B1C #167F2F #1FB342 #34DC5C

Accessibility & contrast

On white

5.11
#167F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#167F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F2F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F2F#FFFFFF#000000##FFFFFF
##167F2F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#756B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f2f;
/* rgb */ color: rgb(22, 127, 47);
/* oklch */ color: oklch(52.3% 0.148 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a56a',
    500: '#167f2f',
    950: '#000000',
  },
}
SCSS
$custom: #167f2f;
$custom-light: #68a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#167f2f",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 134.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.14811,
    "h": 146.5
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#167F2F
secondary
#B43D98
accent
#3BC3ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #167F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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