#175F1B#175F1B

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

Color values

HEX#175F1B
RGBrgb(23, 95, 27)
HSLhsl(123, 61%, 23%)
HSVhsv(123, 76%, 37%)
CMYKcmyk(75.8%, 0%, 71.6%, 62.7%)
CIE-LABlab(34.89, -36.59, 31.50)
CIE-LCHlch(34.89, 48.28, 139.28°)
OKLaboklab(42.67% -0.0991 0.0726)
OKLCHoklch(42.67% 0.123 143.8)
XYZxyz(4.6431, 8.4452, 2.4221)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#175F1B #5F175B
analogous
#375F17 #175F1B #175F3F
triadic
#175F1B #1B175F #5F1B17
tetradic
#175F1B #17375F #5F175B #5F3F17
square
#175F1B #17375F #5F175B #5F3F17
split-complementary
#175F1B #3F175F #5F1737
monochromatic
#061907 #0B2E0D #175F1B #239029 #2FC237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##175F1B#FFFFFF#000000##FFFFFF
##175F1B1.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)
#615612
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #175f1b;
/* rgb */ color: rgb(23, 95, 27);
/* oklch */ color: oklch(42.7% 0.123 143.8);
Tailwind
colors: {
  custom: {
    50: '#618d5b',
    500: '#175f1b',
    950: '#000000',
  },
}
SCSS
$custom: #175f1b;
$custom-light: #618d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#175f1b",
  "rgb": {
    "r": 23,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 123.333,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.12289,
    "h": 143.8
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#175F1B
secondary
#963C91
accent
#44DBE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #175F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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