#172E01#172E01

#172E01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.075 H 133.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#172E01
RGBrgb(23, 46, 1)
HSLhsl(91, 96%, 9%)
HSVhsv(91, 98%, 18%)
CMYKcmyk(50%, 0%, 97.8%, 82%)
CIE-LABlab(16.20, -18.12, 22.62)
CIE-LCHlch(16.20, 28.98, 128.70°)
OKLaboklab(27.15% -0.0513 0.0549)
OKLCHoklch(27.15% 0.075 133.1)
XYZxyz(1.3358, 2.1383, 0.3711)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E01 #18012E
analogous
#2E2E01 #172E01 #012E02
triadic
#172E01 #01172E #2E0117
tetradic
#172E01 #012E2E #18012E #2E0201
square
#172E01 #012E2E #18012E #2E0201
split-complementary
#172E01 #02012E #2E012E
monochromatic
#0F1E01 #0F1E01 #172E01 #356A02 #53A604

Accessibility & contrast

On white

14.71
#172E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#172E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E01
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E01#FFFFFF#000000##FFFFFF
##172E011.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2805
Tritanopia (blue-blind)
#172C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172e01;
/* rgb */ color: rgb(23, 46, 1);
/* oklch */ color: oklch(27.2% 0.075 133.1);
Tailwind
colors: {
  custom: {
    50: '#566747',
    500: '#172e01',
    950: '#000000',
  },
}
SCSS
$custom: #172e01;
$custom-light: #566747;
$custom-dark: #000000;
JSON
{
  "hex": "#172e01",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 90.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27153,
    "c": 0.07513,
    "h": 133.1
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#172E01
secondary
#461774
accent
#29FF96
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #172E01

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

Preview Lab → · Contrast checker → · Palette generator →

#172E01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva