#172E09#172E09

#172E09 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.3% C 0.067 H 135.7°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#172E09
RGBrgb(23, 46, 9)
HSLhsl(97, 67%, 11%)
HSVhsv(97, 80%, 18%)
CMYKcmyk(50%, 0%, 80.4%, 82%)
CIE-LABlab(16.28, -17.19, 19.47)
CIE-LCHlch(16.28, 25.97, 131.44°)
OKLaboklab(27.25% -0.0478 0.0466)
OKLCHoklch(27.25% 0.067 135.7)
XYZxyz(1.3796, 2.1558, 0.6018)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E09 #20092E
analogous
#292E09 #172E09 #092E0D
triadic
#172E09 #09172E #2E0917
tetradic
#172E09 #09292E #20092E #2E0D09
square
#172E09 #09292E #20092E #2E0D09
split-complementary
#172E09 #0D092E #2E0929
monochromatic
#0D1A05 #0D1A05 #172E09 #316113 #4A941D

Accessibility & contrast

On white

14.67
#172E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#172E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E09
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E09#FFFFFF#000000##FFFFFF
##172E091.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A05
Deuteranopia (green-blind)
#2D280C
Tritanopia (blue-blind)
#162C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172e09;
/* rgb */ color: rgb(23, 46, 9);
/* oklch */ color: oklch(27.3% 0.067 135.7);
Tailwind
colors: {
  custom: {
    50: '#56674b',
    500: '#172e09',
    950: '#000000',
  },
}
SCSS
$custom: #172e09;
$custom-light: #56674b;
$custom-dark: #000000;
JSON
{
  "hex": "#172e09",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 97.297,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27253,
    "c": 0.06669,
    "h": 135.7
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#172E09
secondary
#52276C
accent
#3EEAA9
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172E09

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

Preview Lab → · Contrast checker → · Palette generator →

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