#175122#175122

#175122 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.097 H 146.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#175122
RGBrgb(23, 81, 34)
HSLhsl(131, 56%, 20%)
HSVhsv(131, 72%, 32%)
CMYKcmyk(71.6%, 0%, 58%, 68.2%)
CIE-LABlab(29.87, -30.03, 22.11)
CIE-LCHlch(29.87, 37.29, 143.65°)
OKLaboklab(38.53% -0.0811 0.0531)
OKLCHoklch(38.53% 0.097 146.8)
XYZxyz(3.5843, 6.1821, 2.5174)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175122 #511746
analogous
#295117 #175122 #17513F
triadic
#175122 #221751 #512217
tetradic
#175122 #172951 #511746 #513F17
square
#175122 #172951 #511746 #513F17
split-complementary
#175122 #3F1751 #511729
monochromatic
#07180A #09210E #175122 #258136 #32B04A

Accessibility & contrast

On white

9.39
#175122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#175122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175122
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175122#FFFFFF#000000##FFFFFF
##1751221.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491E
Deuteranopia (green-blind)
#4B4425
Tritanopia (blue-blind)
#054F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #175122;
/* rgb */ color: rgb(23, 81, 34);
/* oklch */ color: oklch(38.5% 0.097 146.8);
Tailwind
colors: {
  custom: {
    50: '#5d825e',
    500: '#175122',
    950: '#000000',
  },
}
SCSS
$custom: #175122;
$custom-light: #5d825e;
$custom-dark: #000000;
JSON
{
  "hex": "#175122",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 34
  },
  "hsl": {
    "h": 131.379,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38532,
    "c": 0.09691,
    "h": 146.8
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#175122
secondary
#883C7A
accent
#49C3DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #175122

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

Preview Lab → · Contrast checker → · Palette generator →

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