#175222#175222

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

Color values

HEX#175222
RGBrgb(23, 82, 34)
HSLhsl(131, 56%, 21%)
HSVhsv(131, 72%, 32%)
CMYKcmyk(72%, 0%, 58.5%, 67.8%)
CIE-LABlab(30.23, -30.46, 22.55)
CIE-LCHlch(30.23, 37.90, 143.48°)
OKLaboklab(38.84% -0.0822 0.0541)
OKLCHoklch(38.84% 0.098 146.7)
XYZxyz(3.6591, 6.3319, 2.5424)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175222 #521747
analogous
#2A5217 #175222 #17523F
triadic
#175222 #221752 #522217
tetradic
#175222 #172A52 #521747 #523F17
square
#175222 #172A52 #521747 #523F17
split-complementary
#175222 #3F1752 #52172A
monochromatic
#07180A #0A220E #175222 #248236 #32B24A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175222#FFFFFF#000000##FFFFFF
##1752221.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)
#534A1E
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#055047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #175222;
/* rgb */ color: rgb(23, 82, 34);
/* oklch */ color: oklch(38.8% 0.098 146.7);
Tailwind
colors: {
  custom: {
    50: '#5d835e',
    500: '#175222',
    950: '#000000',
  },
}
SCSS
$custom: #175222;
$custom-light: #5d835e;
$custom-dark: #000000;
JSON
{
  "hex": "#175222",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 34
  },
  "hsl": {
    "h": 131.186,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.09841,
    "h": 146.7
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#175222
secondary
#893C7B
accent
#48C3DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #175222

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

Preview Lab → · Contrast checker → · Palette generator →

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