#171F03#171F03

#171F03 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.049 H 123.4°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#171F03
RGBrgb(23, 31, 3)
HSLhsl(77, 82%, 7%)
HSVhsv(77, 90%, 12%)
CMYKcmyk(25.8%, 0%, 90.3%, 87.8%)
CIE-LABlab(10.32, -9.29, 13.99)
CIE-LCHlch(10.32, 16.79, 123.57°)
OKLaboklab(22.38% -0.0271 0.0411)
OKLCHoklch(22.38% 0.049 123.4)
XYZxyz(0.8598, 1.1687, 0.2664)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171F03 #0B031F
analogous
#1F1903 #171F03 #091F03
triadic
#171F03 #03171F #1F0317
tetradic
#171F03 #031F19 #0B031F #1F0309
square
#171F03 #031F19 #0B031F #1F0309
split-complementary
#171F03 #03091F #19031F
monochromatic
#151C03 #151C03 #171F03 #405708 #6A8F0E

Accessibility & contrast

On white

17.02
#171F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#171F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171F03
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171F03#FFFFFF#000000##FFFFFF
##171F031.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C01
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#191D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171f03;
/* rgb */ color: rgb(23, 31, 3);
/* oklch */ color: oklch(22.4% 0.049 123.4);
Tailwind
colors: {
  custom: {
    50: '#535a48',
    500: '#171f03',
    950: '#000000',
  },
}
SCSS
$custom: #171f03;
$custom-light: #535a48;
$custom-dark: #000000;
JSON
{
  "hex": "#171f03",
  "rgb": {
    "r": 23,
    "g": 31,
    "b": 3
  },
  "hsl": {
    "h": 77.143,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22377,
    "c": 0.0492,
    "h": 123.4
  },
  "luminance": 0.01169
}

Semantic roles & 50–950 ramp

primary
#171F03
secondary
#2F1B63
accent
#2FF969
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020300
muted
#787877

Preview Lab

Preview with #171F03

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

Preview Lab → · Contrast checker → · Palette generator →

#171F03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva