#172906#172906

#172906 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.6% C 0.062 H 132.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#172906
RGBrgb(23, 41, 6)
HSLhsl(91, 74%, 9%)
HSVhsv(91, 85%, 16%)
CMYKcmyk(43.9%, 0%, 85.4%, 83.9%)
CIE-LABlab(14.29, -14.83, 18.15)
CIE-LCHlch(14.29, 23.44, 129.25°)
OKLaboklab(25.62% -0.0417 0.0454)
OKLCHoklch(25.62% 0.062 132.6)
XYZxyz(1.1791, 1.7811, 0.4539)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172906 #180629
analogous
#292906 #172906 #062907
triadic
#172906 #061729 #290617
tetradic
#172906 #062929 #180629 #290706
square
#172906 #062929 #180629 #290706
split-complementary
#172906 #070629 #290629
monochromatic
#0F1B04 #0F1B04 #172906 #355E0E #539416

Accessibility & contrast

On white

15.48
#172906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#172906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172906
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172906#FFFFFF#000000##FFFFFF
##1729061.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#292409
Tritanopia (blue-blind)
#172722
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172906;
/* rgb */ color: rgb(23, 41, 6);
/* oklch */ color: oklch(25.6% 0.062 132.6);
Tailwind
colors: {
  custom: {
    50: '#556349',
    500: '#172906',
    950: '#000000',
  },
}
SCSS
$custom: #172906;
$custom-light: #556349;
$custom-dark: #000000;
JSON
{
  "hex": "#172906",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 90.857,
    "s": 74.468,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25615,
    "c": 0.06164,
    "h": 132.6
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#172906
secondary
#46216A
accent
#37F197
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172906

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

Preview Lab → · Contrast checker → · Palette generator →

#172906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva