#167F28#167F28

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

Color values

HEX#167F28
RGBrgb(22, 127, 40)
HSLhsl(130, 70%, 29%)
HSVhsv(130, 83%, 50%)
CMYKcmyk(82.7%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.31, -46.74, 37.97)
CIE-LCHlch(46.31, 60.22, 140.91°)
OKLaboklab(52.18% -0.126 0.0879)
OKLCHoklch(52.18% 0.154 145.1)
XYZxyz(8.3027, 15.5015, 4.5616)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167F28 #7F166D
analogous
#397F16 #167F28 #167F5D
triadic
#167F28 #28167F #7F2816
tetradic
#167F28 #16397F #7F166D #7F5D16
square
#167F28 #16397F #7F166D #7F5D16
split-complementary
#167F28 #5D167F #7F1639
monochromatic
#051A08 #0D4B18 #167F28 #1FB338 #34DC50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167F28#FFFFFF#000000##FFFFFF
##167F281.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)
#81731D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #167f28;
/* rgb */ color: rgb(22, 127, 40);
/* oklch */ color: oklch(52.2% 0.154 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a566',
    500: '#167f28',
    950: '#000000',
  },
}
SCSS
$custom: #167f28;
$custom-light: #68a566;
$custom-dark: #000000;
JSON
{
  "hex": "#167f28",
  "rgb": {
    "r": 22,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 130.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52179,
    "c": 0.15366,
    "h": 145.1
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#167F28
secondary
#B43D9F
accent
#3BCFED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #167F28

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

Preview Lab → · Contrast checker → · Palette generator →

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