#172801#172801

#172801 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.066 H 130.1°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#172801
RGBrgb(23, 40, 1)
HSLhsl(86, 95%, 8%)
HSVhsv(86, 98%, 16%)
CMYKcmyk(42.5%, 0%, 97.5%, 84.3%)
CIE-LABlab(13.84, -14.91, 19.59)
CIE-LCHlch(13.84, 24.62, 127.28°)
OKLaboklab(25.22% -0.0427 0.0507)
OKLCHoklch(25.22% 0.066 130.1)
XYZxyz(1.1176, 1.7019, 0.2983)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172801 #120128
analogous
#282501 #172801 #032801
triadic
#172801 #011728 #280117
tetradic
#172801 #012825 #120128 #280103
square
#172801 #012825 #120128 #280103
split-complementary
#172801 #010328 #250128
monochromatic
#111E01 #111E01 #172801 #396402 #5C9F04

Accessibility & contrast

On white

15.67
#172801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#172801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172801
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172801#FFFFFF#000000##FFFFFF
##1728011.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282304
Tritanopia (blue-blind)
#182620
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #172801;
/* rgb */ color: rgb(23, 40, 1);
/* oklch */ color: oklch(25.2% 0.066 130.1);
Tailwind
colors: {
  custom: {
    50: '#556247',
    500: '#172801',
    950: '#000000',
  },
}
SCSS
$custom: #172801;
$custom-light: #556247;
$custom-dark: #000000;
JSON
{
  "hex": "#172801",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 86.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25223,
    "c": 0.06629,
    "h": 130.1
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#172801
secondary
#3D166F
accent
#29FF86
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #172801

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

Preview Lab → · Contrast checker → · Palette generator →

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