#172907#172907

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

Color values

HEX#172907
RGBrgb(23, 41, 7)
HSLhsl(92, 71%, 9%)
HSVhsv(92, 83%, 16%)
CMYKcmyk(43.9%, 0%, 82.9%, 83.9%)
CIE-LABlab(14.31, -14.70, 17.76)
CIE-LCHlch(14.31, 23.06, 129.62°)
OKLaboklab(25.63% -0.0412 0.0443)
OKLCHoklch(25.63% 0.06 133)
XYZxyz(1.1846, 1.7833, 0.4828)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172907 #190729
analogous
#282907 #172907 #072908
triadic
#172907 #071729 #290717
tetradic
#172907 #072829 #190729 #290807
square
#172907 #072829 #190729 #290807
split-complementary
#172907 #080729 #290728
monochromatic
#0F1A04 #0F1A04 #172907 #345D10 #529219

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##172907#FFFFFF#000000##FFFFFF
##1729071.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)
#2B2504
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#172722
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172907;
/* rgb */ color: rgb(23, 41, 7);
/* oklch */ color: oklch(25.6% 0.060 133.0);
Tailwind
colors: {
  custom: {
    50: '#55634a',
    500: '#172907',
    950: '#000000',
  },
}
SCSS
$custom: #172907;
$custom-light: #55634a;
$custom-dark: #000000;
JSON
{
  "hex": "#172907",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 91.765,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2563,
    "c": 0.06049,
    "h": 133
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#172907
secondary
#482369
accent
#3AEE99
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172907

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

Preview Lab → · Contrast checker → · Palette generator →

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