#172F10#172F10

#172F10 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.061 H 139.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#172F10
RGBrgb(23, 47, 16)
HSLhsl(106, 49%, 12%)
HSVhsv(106, 66%, 18%)
CMYKcmyk(51.1%, 0%, 66%, 81.6%)
CIE-LABlab(16.76, -16.82, 16.77)
CIE-LCHlch(16.76, 23.75, 135.09°)
OKLaboklab(27.67% -0.0462 0.04)
OKLCHoklch(27.67% 0.061 139.1)
XYZxyz(1.4633, 2.2525, 0.8478)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F10 #28102F
analogous
#262F10 #172F10 #102F19
triadic
#172F10 #10172F #2F1017
tetradic
#172F10 #10262F #28102F #2F1910
square
#172F10 #10262F #28102F #2F1910
split-complementary
#172F10 #19102F #2F1026
monochromatic
#0B1708 #0B1708 #172F10 #2D5D20 #448A2F

Accessibility & contrast

On white

14.48
#172F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172F10
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F10#FFFFFF#000000##FFFFFF
##172F101.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0D
Deuteranopia (green-blind)
#2D2912
Tritanopia (blue-blind)
#152D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172f10;
/* rgb */ color: rgb(23, 47, 16);
/* oklch */ color: oklch(27.7% 0.061 139.1);
Tailwind
colors: {
  custom: {
    50: '#56674f',
    500: '#172f10',
    950: '#000000',
  },
}
SCSS
$custom: #172f10;
$custom-light: #56674f;
$custom-dark: #000000;
JSON
{
  "hex": "#172f10",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 106.452,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2767,
    "c": 0.06111,
    "h": 139.1
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#172F10
secondary
#5C3368
accent
#4FD9BA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #172F10

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

Preview Lab → · Contrast checker → · Palette generator →

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