#175E28#175E28

#175E28 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.110 H 147.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#175E28
RGBrgb(23, 94, 40)
HSLhsl(134, 61%, 23%)
HSVhsv(134, 76%, 37%)
CMYKcmyk(75.5%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.68, -34.43, 24.61)
CIE-LCHlch(34.68, 42.32, 144.45°)
OKLaboklab(42.54% -0.0927 0.0591)
OKLCHoklch(42.54% 0.11 147.5)
XYZxyz(4.7387, 8.3402, 3.3672)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E28 #5E174D
analogous
#295E17 #175E28 #175E4B
triadic
#175E28 #28175E #5E2817
tetradic
#175E28 #17295E #5E174D #5E4B17
square
#175E28 #17295E #5E174D #5E4B17
split-complementary
#175E28 #4B175E #5E1729
monochromatic
#06190A #0B2D13 #175E28 #238F3D #2FC052

Accessibility & contrast

On white

7.87
#175E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#175E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175E28
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175E28#FFFFFF#000000##FFFFFF
##175E281.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e28;
/* rgb */ color: rgb(23, 94, 40);
/* oklch */ color: oklch(42.5% 0.110 147.5);
Tailwind
colors: {
  custom: {
    50: '#608c63',
    500: '#175e28',
    950: '#000000',
  },
}
SCSS
$custom: #175e28;
$custom-light: #608c63;
$custom-dark: #000000;
JSON
{
  "hex": "#175e28",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 134.366,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42538,
    "c": 0.10995,
    "h": 147.5
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#175E28
secondary
#953C80
accent
#44BEE4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #175E28

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

Preview Lab → · Contrast checker → · Palette generator →

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