#175221#175221

#175221 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.099 H 146.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#175221
RGBrgb(23, 82, 33)
HSLhsl(130, 56%, 21%)
HSVhsv(130, 72%, 32%)
CMYKcmyk(72%, 0%, 59.8%, 67.8%)
CIE-LABlab(30.22, -30.62, 23.09)
CIE-LCHlch(30.22, 38.35, 142.97°)
OKLaboklab(38.82% -0.0827 0.0552)
OKLCHoklch(38.82% 0.099 146.3)
XYZxyz(3.6449, 6.3262, 2.4675)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175221 #521748
analogous
#2B5217 #175221 #17523E
triadic
#175221 #211752 #522117
tetradic
#175221 #172B52 #521748 #523E17
square
#175221 #172B52 #521748 #523E17
split-complementary
#175221 #3E1752 #52172B
monochromatic
#07180A #0A220E #175221 #248234 #32B247

Accessibility & contrast

On white

9.27
#175221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#175221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175221
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175221#FFFFFF#000000##FFFFFF
##1752211.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1C
Deuteranopia (green-blind)
#4C4525
Tritanopia (blue-blind)
#055047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175221;
/* rgb */ color: rgb(23, 82, 33);
/* oklch */ color: oklch(38.8% 0.099 146.3);
Tailwind
colors: {
  custom: {
    50: '#5d835e',
    500: '#175221',
    950: '#000000',
  },
}
SCSS
$custom: #175221;
$custom-light: #5d835e;
$custom-dark: #000000;
JSON
{
  "hex": "#175221",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 130.169,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.09941,
    "h": 146.3
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#175221
secondary
#893C7C
accent
#48C6DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #175221

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

Preview Lab → · Contrast checker → · Palette generator →

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