#172900#172900

#172900 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.5% C 0.069 H 130.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#172900
RGBrgb(23, 41, 0)
HSLhsl(86, 100%, 8%)
HSVhsv(86, 100%, 16%)
CMYKcmyk(43.9%, 0%, 100%, 83.9%)
CIE-LABlab(14.22, -15.59, 20.50)
CIE-LCHlch(14.22, 25.75, 127.26°)
OKLaboklab(25.53% -0.0448 0.0526)
OKLCHoklch(25.53% 0.069 130.4)
XYZxyz(1.1463, 1.7680, 0.2809)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172900 #120029
analogous
#292600 #172900 #032900
triadic
#172900 #001729 #290017
tetradic
#172900 #002926 #120029 #290003
square
#172900 #002926 #120029 #290003
split-complementary
#172900 #000329 #260029
monochromatic
#111F00 #111F00 #172900 #396600 #5CA300

Accessibility & contrast

On white

15.51
#172900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#172900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172900
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172900#FFFFFF#000000##FFFFFF
##1729001.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#182721
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172900;
/* rgb */ color: rgb(23, 41, 0);
/* oklch */ color: oklch(25.5% 0.069 130.4);
Tailwind
colors: {
  custom: {
    50: '#556346',
    500: '#172900',
    950: '#000000',
  },
}
SCSS
$custom: #172900;
$custom-light: #556346;
$custom-dark: #000000;
JSON
{
  "hex": "#172900",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 0
  },
  "hsl": {
    "h": 86.341,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25531,
    "c": 0.0691,
    "h": 130.4
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#172900
secondary
#3D1471
accent
#29FF87
background
#F5F5F3
surface
#E9EAE5
border
#C5C6C1
text
#030500
muted
#787977

Preview Lab

Preview with #172900

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

Preview Lab → · Contrast checker → · Palette generator →

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