#175F23#175F23

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

Color values

HEX#175F23
RGBrgb(23, 95, 35)
HSLhsl(130, 61%, 23%)
HSVhsv(130, 76%, 37%)
CMYKcmyk(75.8%, 0%, 63.2%, 62.7%)
CIE-LABlab(34.98, -35.58, 27.64)
CIE-LCHlch(34.98, 45.05, 142.16°)
OKLaboklab(42.76% -0.096 0.0653)
OKLCHoklch(42.76% 0.116 145.8)
XYZxyz(4.7486, 8.4874, 2.9778)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F23 #5F1753
analogous
#2F5F17 #175F23 #175F47
triadic
#175F23 #23175F #5F2317
tetradic
#175F23 #172F5F #5F1753 #5F4717
square
#175F23 #172F5F #5F1753 #5F4717
split-complementary
#175F23 #47175F #5F172F
monochromatic
#061909 #0B2E11 #175F23 #239035 #2FC247

Accessibility & contrast

On white

7.78
#175F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175F23
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F23#FFFFFF#000000##FFFFFF
##175F231.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61561D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f23;
/* rgb */ color: rgb(23, 95, 35);
/* oklch */ color: oklch(42.8% 0.116 145.8);
Tailwind
colors: {
  custom: {
    50: '#608d60',
    500: '#175f23',
    950: '#000000',
  },
}
SCSS
$custom: #175f23;
$custom-light: #608d60;
$custom-dark: #000000;
JSON
{
  "hex": "#175f23",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 130,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.1161,
    "h": 145.8
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#175F23
secondary
#963C87
accent
#44C9E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #175F23

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

Preview Lab → · Contrast checker → · Palette generator →

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