#175E2F#175E2F

#175E2F is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.103 H 150.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#175E2F
RGBrgb(23, 94, 47)
HSLhsl(140, 61%, 23%)
HSVhsv(140, 76%, 37%)
CMYKcmyk(75.5%, 0%, 50%, 63.1%)
CIE-LABlab(34.79, -33.22, 20.79)
CIE-LCHlch(34.79, 39.19, 147.96°)
OKLaboklab(42.66% -0.0894 0.0509)
OKLCHoklch(42.66% 0.103 150.4)
XYZxyz(4.8687, 8.3923, 4.0520)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E2F #5E1746
analogous
#225E17 #175E2F #175E52
triadic
#175E2F #2F175E #5E2F17
tetradic
#175E2F #17225E #5E1746 #5E5217
square
#175E2F #17225E #5E1746 #5E5217
split-complementary
#175E2F #52175E #5E1722
monochromatic
#06190C #0B2D16 #175E2F #238F48 #2FC060

Accessibility & contrast

On white

7.84
#175E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#175E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175E2F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175E2F#FFFFFF#000000##FFFFFF
##175E2F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F552B
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e2f;
/* rgb */ color: rgb(23, 94, 47);
/* oklch */ color: oklch(42.7% 0.103 150.4);
Tailwind
colors: {
  custom: {
    50: '#5f8c68',
    500: '#175e2f',
    950: '#000000',
  },
}
SCSS
$custom: #175e2f;
$custom-light: #5f8c68;
$custom-dark: #000000;
JSON
{
  "hex": "#175e2f",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 47
  },
  "hsl": {
    "h": 140.282,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.10288,
    "h": 150.4
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#175E2F
secondary
#953C77
accent
#44AEE4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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