#175F1D#175F1D

#175F1D is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.121 H 144.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#175F1D
RGBrgb(23, 95, 29)
HSLhsl(125, 61%, 23%)
HSVhsv(125, 76%, 37%)
CMYKcmyk(75.8%, 0%, 69.5%, 62.7%)
CIE-LABlab(34.91, -36.36, 30.57)
CIE-LCHlch(34.91, 47.50, 139.94°)
OKLaboklab(42.69% -0.0984 0.0709)
OKLCHoklch(42.69% 0.121 144.2)
XYZxyz(4.6670, 8.4548, 2.5481)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F1D #5F1759
analogous
#355F17 #175F1D #175F41
triadic
#175F1D #1D175F #5F1D17
tetradic
#175F1D #17355F #5F1759 #5F4117
square
#175F1D #17355F #5F1759 #5F4117
split-complementary
#175F1D #41175F #5F1735
monochromatic
#061908 #0B2E0E #175F1D #23902C #2FC23B

Accessibility & contrast

On white

7.80
#175F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#175F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #175F1D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F1D#FFFFFF#000000##FFFFFF
##175F1D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615615
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f1d;
/* rgb */ color: rgb(23, 95, 29);
/* oklch */ color: oklch(42.7% 0.121 144.2);
Tailwind
colors: {
  custom: {
    50: '#608d5c',
    500: '#175f1d',
    950: '#000000',
  },
}
SCSS
$custom: #175f1d;
$custom-light: #608d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#175f1d",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 29
  },
  "hsl": {
    "h": 125,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42687,
    "c": 0.12129,
    "h": 144.2
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#175F1D
secondary
#963C8E
accent
#44D7E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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