#172F09#172F09

#172F09 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.068 H 136.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#172F09
RGBrgb(23, 47, 9)
HSLhsl(98, 68%, 11%)
HSVhsv(98, 81%, 18%)
CMYKcmyk(51.1%, 0%, 80.9%, 81.6%)
CIE-LABlab(16.67, -17.72, 19.95)
CIE-LCHlch(16.67, 26.68, 131.60°)
OKLaboklab(27.57% -0.0492 0.0474)
OKLCHoklch(27.57% 0.068 136.1)
XYZxyz(1.4191, 2.2348, 0.6150)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F09 #21092F
analogous
#2A2F09 #172F09 #092F0E
triadic
#172F09 #09172F #2F0917
tetradic
#172F09 #092A2F #21092F #2F0E09
square
#172F09 #092A2F #21092F #2F0E09
split-complementary
#172F09 #0E092F #2F092A
monochromatic
#0D1A05 #0D1A05 #172F09 #306213 #49961D

Accessibility & contrast

On white

14.51
#172F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172F09
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F09#FFFFFF#000000##FFFFFF
##172F091.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A05
Deuteranopia (green-blind)
#2E280C
Tritanopia (blue-blind)
#162D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172f09;
/* rgb */ color: rgb(23, 47, 9);
/* oklch */ color: oklch(27.6% 0.068 136.1);
Tailwind
colors: {
  custom: {
    50: '#56674b',
    500: '#172f09',
    950: '#000000',
  },
}
SCSS
$custom: #172f09;
$custom-light: #56674b;
$custom-dark: #000000;
JSON
{
  "hex": "#172f09",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 9
  },
  "hsl": {
    "h": 97.895,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27572,
    "c": 0.06833,
    "h": 136.1
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#172F09
secondary
#53276D
accent
#3DEBAB
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172F09

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

Preview Lab → · Contrast checker → · Palette generator →

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