#167228#167228

#167228 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.137 H 145.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#167228
RGBrgb(22, 114, 40)
HSLhsl(132, 68%, 27%)
HSVhsv(132, 81%, 45%)
CMYKcmyk(80.7%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.78, -42.19, 32.93)
CIE-LCHlch(41.78, 53.51, 142.03°)
OKLaboklab(48.41% -0.1137 0.0771)
OKLCHoklch(48.41% 0.137 145.8)
XYZxyz(6.7307, 12.3576, 4.0376)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167228 #721660
analogous
#327216 #167228 #167256
triadic
#167228 #281672 #722816
tetradic
#167228 #163272 #721660 #725616
square
#167228 #163272 #721660 #725616
split-complementary
#167228 #561672 #721632
monochromatic
#051A09 #0C3F16 #167228 #20A53A #2CD64D

Accessibility & contrast

On white

6.05
#167228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#167228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #167228
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##167228#FFFFFF#000000##FFFFFF
##1672281.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #167228;
/* rgb */ color: rgb(22, 114, 40);
/* oklch */ color: oklch(48.4% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#659b65',
    500: '#167228',
    950: '#000000',
  },
}
SCSS
$custom: #167228;
$custom-light: #659b65;
$custom-dark: #000000;
JSON
{
  "hex": "#167228",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 131.739,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.13738,
    "h": 145.8
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#167228
secondary
#A83C93
accent
#3DC9EB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #167228

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

Preview Lab → · Contrast checker → · Palette generator →

#167228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva