#172901#172901

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

Color values

HEX#172901
RGBrgb(23, 41, 1)
HSLhsl(87, 95%, 8%)
HSVhsv(87, 98%, 16%)
CMYKcmyk(43.9%, 0%, 97.6%, 83.9%)
CIE-LABlab(14.23, -15.46, 20.11)
CIE-LCHlch(14.23, 25.37, 127.56°)
OKLaboklab(25.55% -0.0442 0.0514)
OKLCHoklch(25.55% 0.068 130.7)
XYZxyz(1.1518, 1.7702, 0.3097)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172901 #130129
analogous
#292701 #172901 #032901
triadic
#172901 #011729 #290117
tetradic
#172901 #012927 #130129 #290103
square
#172901 #012927 #130129 #290103
split-complementary
#172901 #010329 #270129
monochromatic
#111E01 #111E01 #172901 #396502 #5AA004

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##172901#FFFFFF#000000##FFFFFF
##1729011.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)
#292404
Tritanopia (blue-blind)
#182721
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #172901;
/* rgb */ color: rgb(23, 41, 1);
/* oklch */ color: oklch(25.5% 0.068 130.7);
Tailwind
colors: {
  custom: {
    50: '#556347',
    500: '#172901',
    950: '#000000',
  },
}
SCSS
$custom: #172901;
$custom-light: #556347;
$custom-dark: #000000;
JSON
{
  "hex": "#172901",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 87,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.06779,
    "h": 130.7
  },
  "luminance": 0.0177
}

Semantic roles & 50–950 ramp

primary
#172901
secondary
#3E166F
accent
#29FF89
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #172901

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

Preview Lab → · Contrast checker → · Palette generator →

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