#176221#176221

#176221 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.122 H 145.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#176221
RGBrgb(23, 98, 33)
HSLhsl(128, 62%, 24%)
HSVhsv(128, 77%, 38%)
CMYKcmyk(76.5%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.04, -37.01, 29.87)
CIE-LCHlch(36.04, 47.56, 141.09°)
OKLaboklab(43.63% -0.1 0.0699)
OKLCHoklch(43.63% 0.122 145)
XYZxyz(4.9952, 9.0268, 2.9176)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#176221 #621758
analogous
#326217 #176221 #176246
triadic
#176221 #211762 #622117
tetradic
#176221 #173262 #621758 #624617
square
#176221 #173262 #621758 #624617
split-complementary
#176221 #461762 #621732
monochromatic
#061908 #0B3010 #176221 #239432 #2EC542

Accessibility & contrast

On white

7.49
#176221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#176221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #176221
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##176221#FFFFFF#000000##FFFFFF
##1762211.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #176221;
/* rgb */ color: rgb(23, 98, 33);
/* oklch */ color: oklch(43.6% 0.122 145.0);
Tailwind
colors: {
  custom: {
    50: '#618f5f',
    500: '#176221',
    950: '#000000',
  },
}
SCSS
$custom: #176221;
$custom-light: #618f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#176221",
  "rgb": {
    "r": 23,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 128,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.43632,
    "c": 0.12196,
    "h": 145
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#176221
secondary
#993C8C
accent
#43CFE5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #176221

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

Preview Lab → · Contrast checker → · Palette generator →

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