#175F25#175F25

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

Color values

HEX#175F25
RGBrgb(23, 95, 37)
HSLhsl(132, 61%, 23%)
HSVhsv(132, 76%, 37%)
CMYKcmyk(75.8%, 0%, 61.1%, 62.7%)
CIE-LABlab(35.00, -35.29, 26.61)
CIE-LCHlch(35.00, 44.20, 142.98°)
OKLaboklab(42.79% -0.0952 0.0632)
OKLCHoklch(42.79% 0.114 146.4)
XYZxyz(4.7791, 8.4996, 3.1386)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F25 #5F1751
analogous
#2D5F17 #175F25 #175F49
triadic
#175F25 #25175F #5F2517
tetradic
#175F25 #172D5F #5F1751 #5F4917
square
#175F25 #172D5F #5F1751 #5F4917
split-complementary
#175F25 #49175F #5F172D
monochromatic
#06190A #0B2E12 #175F25 #239038 #2FC24B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F25#FFFFFF#000000##FFFFFF
##175F251.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)
#60561F
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f25;
/* rgb */ color: rgb(23, 95, 37);
/* oklch */ color: oklch(42.8% 0.114 146.4);
Tailwind
colors: {
  custom: {
    50: '#608d61',
    500: '#175f25',
    950: '#000000',
  },
}
SCSS
$custom: #175f25;
$custom-light: #608d61;
$custom-dark: #000000;
JSON
{
  "hex": "#175f25",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 131.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.11425,
    "h": 146.4
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#175F25
secondary
#963C84
accent
#44C5E4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #175F25

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

Preview Lab → · Contrast checker → · Palette generator →

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