#175F1C#175F1C

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

Color values

HEX#175F1C
RGBrgb(23, 95, 28)
HSLhsl(124, 61%, 23%)
HSVhsv(124, 76%, 37%)
CMYKcmyk(75.8%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.90, -36.47, 31.04)
CIE-LCHlch(34.90, 47.89, 139.60°)
OKLaboklab(42.68% -0.0988 0.0718)
OKLCHoklch(42.68% 0.122 144)
XYZxyz(4.6549, 8.4499, 2.4841)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F1C #5F175A
analogous
#365F17 #175F1C #175F40
triadic
#175F1C #1C175F #5F1C17
tetradic
#175F1C #17365F #5F175A #5F4017
square
#175F1C #17365F #5F175A #5F4017
split-complementary
#175F1C #40175F #5F1736
monochromatic
#061907 #0B2E0D #175F1C #23902B #2FC239

Accessibility & contrast

On white

7.81
#175F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #175F1C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##175F1C#FFFFFF#000000##FFFFFF
##175F1C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #175f1c;
/* rgb */ color: rgb(23, 95, 28);
/* oklch */ color: oklch(42.7% 0.122 144.0);
Tailwind
colors: {
  custom: {
    50: '#618d5c',
    500: '#175f1c',
    950: '#000000',
  },
}
SCSS
$custom: #175f1c;
$custom-light: #618d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#175f1c",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 124.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.1221,
    "h": 144
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#175F1C
secondary
#963C8F
accent
#44D9E4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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