#172D10#172D10

#172D10 is a dark, muted green. Relative luminance 0.021; OKLCH L 27.0% C 0.058 H 138.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#172D10
RGBrgb(23, 45, 16)
HSLhsl(106, 48%, 12%)
HSVhsv(106, 64%, 18%)
CMYKcmyk(48.9%, 0%, 64.4%, 82.4%)
CIE-LABlab(15.98, -15.73, 15.81)
CIE-LCHlch(15.98, 22.30, 134.87°)
OKLaboklab(27.04% -0.0432 0.038)
OKLCHoklch(27.04% 0.058 138.7)
XYZxyz(1.3852, 2.0963, 0.8217)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D10 #26102D
analogous
#262D10 #172D10 #102D18
triadic
#172D10 #10172D #2D1017
tetradic
#172D10 #10262D #26102D #2D1810
square
#172D10 #10262D #26102D #2D1810
split-complementary
#172D10 #18102D #2D1026
monochromatic
#0C1708 #0C1708 #172D10 #2E5A20 #458730

Accessibility & contrast

On white

14.80
#172D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#172D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D10
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D10#FFFFFF#000000##FFFFFF
##172D101.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290D
Deuteranopia (green-blind)
#2B2712
Tritanopia (blue-blind)
#162B26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172d10;
/* rgb */ color: rgb(23, 45, 16);
/* oklch */ color: oklch(27.0% 0.058 138.7);
Tailwind
colors: {
  custom: {
    50: '#56664f',
    500: '#172d10',
    950: '#000000',
  },
}
SCSS
$custom: #172d10;
$custom-light: #56664f;
$custom-dark: #000000;
JSON
{
  "hex": "#172d10",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 16
  },
  "hsl": {
    "h": 105.517,
    "s": 47.541,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.05752,
    "h": 138.7
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#172D10
secondary
#5A3366
accent
#51D7B7
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #172D10

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

Preview Lab → · Contrast checker → · Palette generator →

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