#175E2B#175E2B

#175E2B is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.107 H 148.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#175E2B
RGBrgb(23, 94, 43)
HSLhsl(137, 61%, 23%)
HSVhsv(137, 76%, 37%)
CMYKcmyk(75.5%, 0%, 54.3%, 63.1%)
CIE-LABlab(34.72, -33.93, 22.99)
CIE-LCHlch(34.72, 40.99, 145.88°)
OKLaboklab(42.59% -0.0914 0.0557)
OKLCHoklch(42.59% 0.107 148.7)
XYZxyz(4.7917, 8.3615, 3.6464)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E2B #5E174A
analogous
#275E17 #175E2B #175E4E
triadic
#175E2B #2B175E #5E2B17
tetradic
#175E2B #17275E #5E174A #5E4E17
square
#175E2B #17275E #5E174A #5E4E17
split-complementary
#175E2B #4E175E #5E1727
monochromatic
#06190B #0B2D15 #175E2B #238F41 #2FC058

Accessibility & contrast

On white

7.86
#175E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175E2B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175E2B#FFFFFF#000000##FFFFFF
##175E2B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e2b;
/* rgb */ color: rgb(23, 94, 43);
/* oklch */ color: oklch(42.6% 0.107 148.7);
Tailwind
colors: {
  custom: {
    50: '#608c65',
    500: '#175e2b',
    950: '#000000',
  },
}
SCSS
$custom: #175e2b;
$custom-light: #608c65;
$custom-dark: #000000;
JSON
{
  "hex": "#175e2b",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 43
  },
  "hsl": {
    "h": 136.901,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.10697,
    "h": 148.7
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#175E2B
secondary
#953C7C
accent
#44B7E4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #175E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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