#172C07#172C07

#172C07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.065 H 134.3°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#172C07
RGBrgb(23, 44, 7)
HSLhsl(94, 73%, 10%)
HSVhsv(94, 84%, 17%)
CMYKcmyk(47.7%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.48, -16.35, 19.27)
CIE-LCHlch(15.48, 25.27, 130.32°)
OKLaboklab(26.59% -0.0457 0.0469)
OKLCHoklch(26.59% 0.065 134.3)
XYZxyz(1.2924, 1.9988, 0.5187)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C07 #1C072C
analogous
#2A2C07 #172C07 #072C09
triadic
#172C07 #07172C #2C0717
tetradic
#172C07 #072A2C #1C072C #2C0907
square
#172C07 #072A2C #1C072C #2C0907
split-complementary
#172C07 #09072C #2C072A
monochromatic
#0E1A04 #0E1A04 #172C07 #33610F #4E9618

Accessibility & contrast

On white

15.00
#172C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C07
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C07#FFFFFF#000000##FFFFFF
##172C071.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#172A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172c07;
/* rgb */ color: rgb(23, 44, 7);
/* oklch */ color: oklch(26.6% 0.065 134.3);
Tailwind
colors: {
  custom: {
    50: '#56654a',
    500: '#172c07',
    950: '#000000',
  },
}
SCSS
$custom: #172c07;
$custom-light: #56654a;
$custom-dark: #000000;
JSON
{
  "hex": "#172c07",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 94.054,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26589,
    "c": 0.06545,
    "h": 134.3
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#172C07
secondary
#4C236C
accent
#39EFA0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C07

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

Preview Lab → · Contrast checker → · Palette generator →

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