#175231#175231

#175231 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.082 H 154.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#175231
RGBrgb(23, 82, 49)
HSLhsl(146, 56%, 21%)
HSVhsv(146, 72%, 32%)
CMYKcmyk(72%, 0%, 40.2%, 67.8%)
CIE-LABlab(30.49, -27.58, 14.00)
CIE-LCHlch(30.49, 30.93, 153.08°)
OKLaboklab(39.13% -0.0746 0.0351)
OKLCHoklch(39.13% 0.082 154.8)
XYZxyz(3.9247, 6.4381, 3.9410)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175231 #521738
analogous
#1A5217 #175231 #17524E
triadic
#175231 #311752 #523117
tetradic
#175231 #171A52 #521738 #524E17
square
#175231 #171A52 #521738 #524E17
split-complementary
#175231 #4E1752 #52171A
monochromatic
#07180E #0A2214 #175231 #24824E #32B26A

Accessibility & contrast

On white

9.18
#175231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#175231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175231
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175231#FFFFFF#000000##FFFFFF
##1752311.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4633
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #175231;
/* rgb */ color: rgb(23, 82, 49);
/* oklch */ color: oklch(39.1% 0.082 154.8);
Tailwind
colors: {
  custom: {
    50: '#5c8369',
    500: '#175231',
    950: '#000000',
  },
}
SCSS
$custom: #175231;
$custom-light: #5c8369;
$custom-dark: #000000;
JSON
{
  "hex": "#175231",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 146.441,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39131,
    "c": 0.08247,
    "h": 154.8
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#175231
secondary
#893C67
accent
#489DDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #175231

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

Preview Lab → · Contrast checker → · Palette generator →

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