#172F0E#172F0E

#172F0E is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.6% C 0.063 H 138.0°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#172F0E
RGBrgb(23, 47, 14)
HSLhsl(104, 54%, 12%)
HSVhsv(104, 70%, 18%)
CMYKcmyk(51.1%, 0%, 70.2%, 81.6%)
CIE-LABlab(16.73, -17.11, 17.80)
CIE-LCHlch(16.73, 24.69, 133.87°)
OKLaboklab(27.64% -0.0471 0.0423)
OKLCHoklch(27.64% 0.063 138)
XYZxyz(1.4491, 2.2468, 0.7727)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F0E #260E2F
analogous
#282F0E #172F0E #0E2F16
triadic
#172F0E #0E172F #2F0E17
tetradic
#172F0E #0E282F #260E2F #2F160E
square
#172F0E #0E282F #260E2F #2F160E
split-complementary
#172F0E #160E2F #2F0E28
monochromatic
#0C1807 #0C1807 #172F0E #2E5E1C #458D2A

Accessibility & contrast

On white

14.49
#172F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F0E
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F0E#FFFFFF#000000##FFFFFF
##172F0E1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0B
Deuteranopia (green-blind)
#2D2910
Tritanopia (blue-blind)
#162D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172f0e;
/* rgb */ color: rgb(23, 47, 14);
/* oklch */ color: oklch(27.6% 0.063 138.0);
Tailwind
colors: {
  custom: {
    50: '#56674e',
    500: '#172f0e',
    950: '#000000',
  },
}
SCSS
$custom: #172f0e;
$custom-light: #56674e;
$custom-dark: #000000;
JSON
{
  "hex": "#172f0e",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 14
  },
  "hsl": {
    "h": 103.636,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27639,
    "c": 0.06333,
    "h": 138
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#172F0E
secondary
#5A2F69
accent
#4ADDB5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172F0E

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

Preview Lab → · Contrast checker → · Palette generator →

#172F0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva