#167F2A#167F2A

#167F2A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.152 H 145.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#167F2A
RGBrgb(22, 127, 42)
HSLhsl(131, 70%, 29%)
HSVhsv(131, 83%, 50%)
CMYKcmyk(82.7%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.33, -46.51, 37.09)
CIE-LCHlch(46.33, 59.49, 141.43°)
OKLaboklab(52.2% -0.1253 0.0862)
OKLCHoklch(52.2% 0.152 145.5)
XYZxyz(8.3376, 15.5155, 4.7454)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F2A #7F166B
analogous
#367F16 #167F2A #167F5F
triadic
#167F2A #2A167F #7F2A16
tetradic
#167F2A #16367F #7F166B #7F5F16
square
#167F2A #16367F #7F166B #7F5F16
split-complementary
#167F2A #5F167F #7F1636
monochromatic
#051A09 #0D4B19 #167F2A #1FB33B #34DC54

Accessibility & contrast

On white

5.12
#167F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#167F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F2A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F2A#FFFFFF#000000##FFFFFF
##167F2A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f2a;
/* rgb */ color: rgb(22, 127, 42);
/* oklch */ color: oklch(52.2% 0.152 145.5);
Tailwind
colors: {
  custom: {
    50: '#68a567',
    500: '#167f2a',
    950: '#000000',
  },
}
SCSS
$custom: #167f2a;
$custom-light: #68a567;
$custom-dark: #000000;
JSON
{
  "hex": "#167f2a",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 131.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.15213,
    "h": 145.5
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#167F2A
secondary
#B43D9D
accent
#3BCBED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #167F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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