#175F24#175F24

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

Color values

HEX#175F24
RGBrgb(23, 95, 36)
HSLhsl(131, 61%, 23%)
HSVhsv(131, 76%, 37%)
CMYKcmyk(75.8%, 0%, 62.1%, 62.7%)
CIE-LABlab(34.99, -35.44, 27.13)
CIE-LCHlch(34.99, 44.63, 142.57°)
OKLaboklab(42.78% -0.0956 0.0643)
OKLCHoklch(42.78% 0.115 146.1)
XYZxyz(4.7637, 8.4934, 3.0571)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F24 #5F1752
analogous
#2E5F17 #175F24 #175F48
triadic
#175F24 #24175F #5F2417
tetradic
#175F24 #172E5F #5F1752 #5F4817
square
#175F24 #172E5F #5F1752 #5F4817
split-complementary
#175F24 #48175F #5F172E
monochromatic
#061909 #0B2E11 #175F24 #239037 #2FC249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F24#FFFFFF#000000##FFFFFF
##175F241.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)
#60561E
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f24;
/* rgb */ color: rgb(23, 95, 36);
/* oklch */ color: oklch(42.8% 0.115 146.1);
Tailwind
colors: {
  custom: {
    50: '#608d61',
    500: '#175f24',
    950: '#000000',
  },
}
SCSS
$custom: #175f24;
$custom-light: #608d61;
$custom-dark: #000000;
JSON
{
  "hex": "#175f24",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 36
  },
  "hsl": {
    "h": 130.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.11518,
    "h": 146.1
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#175F24
secondary
#963C86
accent
#44C7E4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #175F24

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

Preview Lab → · Contrast checker → · Palette generator →

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