#175F1E#175F1E

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

Color values

HEX#175F1E
RGBrgb(23, 95, 30)
HSLhsl(126, 61%, 23%)
HSVhsv(126, 76%, 37%)
CMYKcmyk(75.8%, 0%, 68.4%, 62.7%)
CIE-LABlab(34.92, -36.24, 30.10)
CIE-LCHlch(34.92, 47.11, 140.29°)
OKLaboklab(42.7% -0.098 0.07)
OKLCHoklch(42.7% 0.12 144.5)
XYZxyz(4.6796, 8.4598, 2.6143)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F1E #5F1758
analogous
#345F17 #175F1E #175F42
triadic
#175F1E #1E175F #5F1E17
tetradic
#175F1E #17345F #5F1758 #5F4217
square
#175F1E #17345F #5F1758 #5F4217
split-complementary
#175F1E #42175F #5F1734
monochromatic
#061908 #0B2E0E #175F1E #23902E #2FC23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F1E#FFFFFF#000000##FFFFFF
##175F1E1.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)
#615616
Deuteranopia (green-blind)
#585024
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f1e;
/* rgb */ color: rgb(23, 95, 30);
/* oklch */ color: oklch(42.7% 0.120 144.5);
Tailwind
colors: {
  custom: {
    50: '#608d5d',
    500: '#175f1e',
    950: '#000000',
  },
}
SCSS
$custom: #175f1e;
$custom-light: #608d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#175f1e",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 125.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.12047,
    "h": 144.5
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#175F1E
secondary
#963C8D
accent
#44D5E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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