#175A27#175A27

#175A27 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.105 H 147.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#175A27
RGBrgb(23, 90, 39)
HSLhsl(134, 59%, 22%)
HSVhsv(134, 74%, 35%)
CMYKcmyk(74.4%, 0%, 56.7%, 64.7%)
CIE-LABlab(33.22, -32.97, 23.38)
CIE-LCHlch(33.22, 40.42, 144.65°)
OKLaboklab(41.33% -0.0888 0.0563)
OKLCHoklch(41.33% 0.105 147.6)
XYZxyz(4.3754, 7.6405, 3.1632)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175A27 #5A174A
analogous
#295A17 #175A27 #175A49
triadic
#175A27 #27175A #5A2717
tetradic
#175A27 #17295A #5A174A #5A4917
square
#175A27 #17295A #5A174A #5A4917
split-complementary
#175A27 #49175A #5A1729
monochromatic
#06180B #0B2912 #175A27 #238B3C #30BB51

Accessibility & contrast

On white

8.31
#175A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#175A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175A27
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175A27#FFFFFF#000000##FFFFFF
##175A271.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5222
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #175a27;
/* rgb */ color: rgb(23, 90, 39);
/* oklch */ color: oklch(41.3% 0.105 147.6);
Tailwind
colors: {
  custom: {
    50: '#5f8962',
    500: '#175a27',
    950: '#000000',
  },
}
SCSS
$custom: #175a27;
$custom-light: #5f8962;
$custom-dark: #000000;
JSON
{
  "hex": "#175a27",
  "rgb": {
    "r": 23,
    "g": 90,
    "b": 39
  },
  "hsl": {
    "h": 134.328,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.10517,
    "h": 147.6
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#175A27
secondary
#913C7D
accent
#45BDE2
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79

Preview Lab

Preview with #175A27

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

Preview Lab → · Contrast checker → · Palette generator →

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