#167226#167226

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

Color values

HEX#167226
RGBrgb(22, 114, 38)
HSLhsl(130, 68%, 27%)
HSVhsv(130, 81%, 45%)
CMYKcmyk(80.7%, 0%, 66.7%, 55.3%)
CIE-LABlab(41.76, -42.44, 33.86)
CIE-LCHlch(41.76, 54.29, 141.41°)
OKLaboklab(48.39% -0.1144 0.0789)
OKLCHoklch(48.39% 0.139 145.4)
XYZxyz(6.6976, 12.3443, 3.8631)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167226 #721662
analogous
#347216 #167226 #167254
triadic
#167226 #261672 #722616
tetradic
#167226 #163472 #721662 #725416
square
#167226 #163472 #721662 #725416
split-complementary
#167226 #541672 #721634
monochromatic
#051A09 #0C3F15 #167226 #20A537 #2CD64A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167226#FFFFFF#000000##FFFFFF
##1672261.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)
#74671D
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #167226;
/* rgb */ color: rgb(22, 114, 38);
/* oklch */ color: oklch(48.4% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#167226',
    950: '#000000',
  },
}
SCSS
$custom: #167226;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#167226",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 130.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.13903,
    "h": 145.4
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#167226
secondary
#A83C95
accent
#3DCCEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #167226

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

Preview Lab → · Contrast checker → · Palette generator →

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