#175F27#175F27

#175F27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.112 H 147.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#175F27
RGBrgb(23, 95, 39)
HSLhsl(133, 61%, 23%)
HSVhsv(133, 76%, 37%)
CMYKcmyk(75.8%, 0%, 58.9%, 62.7%)
CIE-LABlab(35.03, -34.99, 25.57)
CIE-LCHlch(35.03, 43.34, 143.84°)
OKLaboklab(42.82% -0.0943 0.0611)
OKLCHoklch(42.82% 0.112 147)
XYZxyz(4.8114, 8.5125, 3.3086)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F27 #5F174F
analogous
#2B5F17 #175F27 #175F4B
triadic
#175F27 #27175F #5F2717
tetradic
#175F27 #172B5F #5F174F #5F4B17
square
#175F27 #172B5F #5F174F #5F4B17
split-complementary
#175F27 #4B175F #5F172B
monochromatic
#06190A #0B2E13 #175F27 #23903B #2FC24F

Accessibility & contrast

On white

7.77
#175F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#175F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F27
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F27#FFFFFF#000000##FFFFFF
##175F271.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f27;
/* rgb */ color: rgb(23, 95, 39);
/* oklch */ color: oklch(42.8% 0.112 147.0);
Tailwind
colors: {
  custom: {
    50: '#608d63',
    500: '#175f27',
    950: '#000000',
  },
}
SCSS
$custom: #175f27;
$custom-light: #608d63;
$custom-dark: #000000;
JSON
{
  "hex": "#175f27",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 39
  },
  "hsl": {
    "h": 133.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.11235,
    "h": 147
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#175F27
secondary
#963C82
accent
#44C0E4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #175F27

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

Preview Lab → · Contrast checker → · Palette generator →

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