#175E2A#175E2A

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

Color values

HEX#175E2A
RGBrgb(23, 94, 42)
HSLhsl(136, 61%, 23%)
HSVhsv(136, 76%, 37%)
CMYKcmyk(75.5%, 0%, 55.3%, 63.1%)
CIE-LABlab(34.71, -34.10, 23.53)
CIE-LCHlch(34.71, 41.43, 145.39°)
OKLaboklab(42.57% -0.0918 0.0568)
OKLCHoklch(42.57% 0.108 148.3)
XYZxyz(4.7736, 8.3542, 3.5510)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175E2A #5E174B
analogous
#285E17 #175E2A #175E4D
triadic
#175E2A #2A175E #5E2A17
tetradic
#175E2A #17285E #5E174B #5E4D17
square
#175E2A #17285E #5E174B #5E4D17
split-complementary
#175E2A #4D175E #5E1728
monochromatic
#06190B #0B2D14 #175E2A #238F40 #2FC056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175E2A#FFFFFF#000000##FFFFFF
##175E2A1.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)
#5F5525
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175e2a;
/* rgb */ color: rgb(23, 94, 42);
/* oklch */ color: oklch(42.6% 0.108 148.3);
Tailwind
colors: {
  custom: {
    50: '#608c65',
    500: '#175e2a',
    950: '#000000',
  },
}
SCSS
$custom: #175e2a;
$custom-light: #608c65;
$custom-dark: #000000;
JSON
{
  "hex": "#175e2a",
  "rgb": {
    "r": 23,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 136.056,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.10798,
    "h": 148.3
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#175E2A
secondary
#953C7D
accent
#44B9E4
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A

Preview Lab

Preview with #175E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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