#175B27#175B27

#175B27 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.107 H 147.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#175B27
RGBrgb(23, 91, 39)
HSLhsl(134, 60%, 22%)
HSVhsv(134, 75%, 36%)
CMYKcmyk(74.7%, 0%, 57.1%, 64.3%)
CIE-LABlab(33.58, -33.38, 23.83)
CIE-LCHlch(33.58, 41.01, 144.48°)
OKLaboklab(41.63% -0.0899 0.0573)
OKLCHoklch(41.63% 0.107 147.5)
XYZxyz(4.4603, 7.8103, 3.1915)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175B27 #5B174B
analogous
#295B17 #175B27 #175B49
triadic
#175B27 #27175B #5B2717
tetradic
#175B27 #17295B #5B174B #5B4917
square
#175B27 #17295B #5B174B #5B4917
split-complementary
#175B27 #49175B #5B1729
monochromatic
#06180A #0B2A12 #175B27 #238C3C #30BD51

Accessibility & contrast

On white

8.20
#175B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#175B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175B27
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175B27#FFFFFF#000000##FFFFFF
##175B271.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5222
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #175b27;
/* rgb */ color: rgb(23, 91, 39);
/* oklch */ color: oklch(41.6% 0.107 147.5);
Tailwind
colors: {
  custom: {
    50: '#5f8a62',
    500: '#175b27',
    950: '#000000',
  },
}
SCSS
$custom: #175b27;
$custom-light: #5f8a62;
$custom-dark: #000000;
JSON
{
  "hex": "#175b27",
  "rgb": {
    "r": 23,
    "g": 91,
    "b": 39
  },
  "hsl": {
    "h": 134.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.10663,
    "h": 147.5
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#175B27
secondary
#923C7E
accent
#45BEE3
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #175B27

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

Preview Lab → · Contrast checker → · Palette generator →

#175B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva