#167F20#167F20

#167F20 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.1% C 0.159 H 143.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#167F20
RGBrgb(22, 127, 32)
HSLhsl(126, 70%, 29%)
HSVhsv(126, 83%, 50%)
CMYKcmyk(82.7%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.25, -47.55, 41.30)
CIE-LCHlch(46.25, 62.98, 139.03°)
OKLaboklab(52.1% -0.1286 0.0939)
OKLCHoklch(52.1% 0.159 143.9)
XYZxyz(8.1804, 15.4526, 3.9177)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F20 #7F1675
analogous
#417F16 #167F20 #167F55
triadic
#167F20 #20167F #7F2016
tetradic
#167F20 #16417F #7F1675 #7F5516
square
#167F20 #16417F #7F1675 #7F5516
split-complementary
#167F20 #55167F #7F1641
monochromatic
#051A07 #0D4B13 #167F20 #1FB32D #34DC44

Accessibility & contrast

On white

5.13
#167F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#167F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167F20
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167F20#FFFFFF#000000##FFFFFF
##167F201.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f20;
/* rgb */ color: rgb(22, 127, 32);
/* oklch */ color: oklch(52.1% 0.159 143.9);
Tailwind
colors: {
  custom: {
    50: '#69a562',
    500: '#167f20',
    950: '#000000',
  },
}
SCSS
$custom: #167f20;
$custom-light: #69a562;
$custom-dark: #000000;
JSON
{
  "hex": "#167f20",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 125.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.15921,
    "h": 143.9
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#167F20
secondary
#B43DA8
accent
#3BDCED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #167F20

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

Preview Lab → · Contrast checker → · Palette generator →

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