#167227#167227

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

Color values

HEX#167227
RGBrgb(22, 114, 39)
HSLhsl(131, 68%, 27%)
HSVhsv(131, 81%, 45%)
CMYKcmyk(80.7%, 0%, 65.8%, 55.3%)
CIE-LABlab(41.77, -42.31, 33.40)
CIE-LCHlch(41.77, 53.91, 141.72°)
OKLaboklab(48.4% -0.1141 0.0781)
OKLCHoklch(48.4% 0.138 145.6)
XYZxyz(6.7139, 12.3509, 3.9492)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#167227 #721661
analogous
#337216 #167227 #167255
triadic
#167227 #271672 #722716
tetradic
#167227 #163372 #721661 #725516
square
#167227 #163372 #721661 #725516
split-complementary
#167227 #551672 #721633
monochromatic
#051A09 #0C3F15 #167227 #20A539 #2CD64C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##167227#FFFFFF#000000##FFFFFF
##1672271.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)
#74671E
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #167227;
/* rgb */ color: rgb(22, 114, 39);
/* oklch */ color: oklch(48.4% 0.138 145.6);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#167227',
    950: '#000000',
  },
}
SCSS
$custom: #167227;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#167227",
  "rgb": {
    "r": 22,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 131.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.13821,
    "h": 145.6
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#167227
secondary
#A83C94
accent
#3DCBEB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #167227

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

Preview Lab → · Contrast checker → · Palette generator →

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